OSDN Git Service

classview: add a member initialization
authorhjk <qtc-committer@nokia.com>
Fri, 7 Jan 2011 07:07:35 +0000 (08:07 +0100)
committerhjk <qtc-committer@nokia.com>
Fri, 7 Jan 2011 07:07:35 +0000 (08:07 +0100)
src/plugins/classview/classviewmanager.cpp

index a4adcc3..0bf8164 100644 (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;
 };