classview: add a member initialization

This commit is contained in:
hjk
2011-01-07 08:07:35 +01:00
parent b9fb6f4b60
commit 0680bd9b93

View File

@@ -60,12 +60,13 @@ namespace Internal {
/*! /*!
\struct ManagerPrivate \struct ManagerPrivate
\internal
\brief Private class data for \a Manager \brief Private class data for \a Manager
\sa Manager \sa Manager
*/ */
struct ManagerPrivate struct ManagerPrivate
{ {
ManagerPrivate() : state(false) {} ManagerPrivate() : state(false), disableCodeParser(false) {}
//! instance //! instance
static Manager *instance; static Manager *instance;
@@ -76,15 +77,15 @@ struct ManagerPrivate
//! State mutex //! State mutex
QMutex mutexState; QMutex mutexState;
//! Internal manager state. \sa Manager::state
bool state;
//! code state/changes parser //! code state/changes parser
Parser parser; Parser parser;
//! separate thread for the parser //! separate thread for the parser
QThread parserThread; QThread parserThread;
//! Internal manager state. \sa Manager::state
bool state;
//! there is some massive operation ongoing so temporary we should wait //! there is some massive operation ongoing so temporary we should wait
bool disableCodeParser; bool disableCodeParser;
}; };