OSDN Git Service
(root)
/
kita
/
kita.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa90a7d
)
Use an initialization list in BoardData
author
nogu
<nogu@users.sourceforge.jp>
Thu, 11 Feb 2010 06:24:39 +0000
(15:24 +0900)
committer
nogu
<nogu@users.sourceforge.jp>
Thu, 11 Feb 2010 06:24:39 +0000
(15:24 +0900)
kita/src/libkita/boardmanager.cpp
patch
|
blob
|
history
diff --git
a/kita/src/libkita/boardmanager.cpp
b/kita/src/libkita/boardmanager.cpp
index
ec8138b
..
9f5a58b
100644
(file)
--- a/
kita/src/libkita/boardmanager.cpp
+++ b/
kita/src/libkita/boardmanager.cpp
@@
-44,15
+44,9
@@
BoardData::BoardData(const QString& boardName,
const QString& bbsPath,
const QString& ext,
int boardtype)
+: m_boardName(boardName), m_readIdx(false), m_rootPath(rootPath),
+ m_delimiter(delimiter), m_bbsPath(bbsPath), m_ext(ext), m_type(boardtype)
{
- m_readIdx = false;
- m_boardName = boardName;
- m_rootPath = rootPath;
- m_delimiter = delimiter;
- m_bbsPath = bbsPath;
- m_ext = ext;
- m_type = boardtype;
-
/* set hostname and create URL of board */
setHostName(hostname);