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