diff options
author | ck <qt-info@nokia.com> | 2010-03-01 16:45:15 (GMT) |
---|---|---|
committer | ck <qt-info@nokia.com> | 2010-03-02 15:16:08 (GMT) |
commit | 95087389919837fef920c6c06ccd34c3136c6b5e (patch) | |
tree | 628781a5683336c110d6df7eefd6572a9cf627b4 | |
parent | 03c1529ab8a8eb3e99fc44bbeb88ff3505956dfa (diff) | |
download | Qt-95087389919837fef920c6c06ccd34c3136c6b5e.zip Qt-95087389919837fef920c6c06ccd34c3136c6b5e.tar.gz Qt-95087389919837fef920c6c06ccd34c3136c6b5e.tar.bz2 |
Help system: Build search index with low priority.
Reviewed-by: kh1
-rw-r--r-- | tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp | 2 | ||||
-rw-r--r-- | tools/assistant/lib/qhelpsearchindexwriter_default.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp b/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp index d9dcec5..4baa376 100644 --- a/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp +++ b/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp @@ -586,7 +586,7 @@ void QHelpSearchIndexWriter::updateIndex(const QString &collectionFile, this->m_indexFilesFolder = indexFilesFolder; mutex.unlock(); - start(QThread::NormalPriority); + start(QThread::LowestPriority); } void QHelpSearchIndexWriter::optimizeIndex() diff --git a/tools/assistant/lib/qhelpsearchindexwriter_default.cpp b/tools/assistant/lib/qhelpsearchindexwriter_default.cpp index cb3e49c..827d145 100644 --- a/tools/assistant/lib/qhelpsearchindexwriter_default.cpp +++ b/tools/assistant/lib/qhelpsearchindexwriter_default.cpp @@ -191,7 +191,7 @@ void QHelpSearchIndexWriter::updateIndex(const QString &collectionFile, this->m_collectionFile = collectionFile; this->m_indexFilesFolder = indexFilesFolder; - start(QThread::NormalPriority); + start(QThread::LowestPriority); } void QHelpSearchIndexWriter::run() |