Commit MetaInfo

Revision6bd420ebdca1129705d1f2e132253f9c1e369148 (tree)
Time2010-02-11 15:24:39
Authornogu <nogu@user...>
Commiternogu

Log Message

Use an initialization list in BoardData

Change Summary

Incremental Difference

--- a/kita/src/libkita/boardmanager.cpp
+++ b/kita/src/libkita/boardmanager.cpp
@@ -44,15 +44,9 @@ BoardData::BoardData(const QString& boardName,
4444 const QString& bbsPath,
4545 const QString& ext,
4646 int boardtype)
47+: m_boardName(boardName), m_readIdx(false), m_rootPath(rootPath),
48+ m_delimiter(delimiter), m_bbsPath(bbsPath), m_ext(ext), m_type(boardtype)
4749 {
48- m_readIdx = false;
49- m_boardName = boardName;
50- m_rootPath = rootPath;
51- m_delimiter = delimiter;
52- m_bbsPath = bbsPath;
53- m_ext = ext;
54- m_type = boardtype;
55-
5650 /* set hostname and create URL of board */
5751 setHostName(hostname);
5852
Show on old repository browser