Lazy start the full text search indexer. Fix missing progress for more

the one run of the indexer.

Reviewed-by: ck
This commit is contained in:
kh1
2010-03-05 16:06:41 +01:00
parent 2e25571edb
commit b748f99c69
2 changed files with 28 additions and 12 deletions

View File

@@ -154,7 +154,6 @@ private:
CentralWidget *m_centralWidget;
HelpViewer *m_helpViewerForSideBar;
HelpMode *m_mode;
bool m_shownLastPages;
Core::SideBarItem *m_contentItem;
Core::SideBarItem *m_indexItem;
@@ -176,9 +175,10 @@ private:
QStringList filesToRegister;
QFutureWatcher<void> m_watcher;
QFutureInterface<void> m_progress;
QFutureInterface<void> *m_progress;
bool isInitialised;
bool firstModeChange;
};
} // namespace Internal