diff options
author | kh1 <qt-info@nokia.com> | 2010-03-04 18:42:43 +0100 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2010-03-04 18:48:49 +0100 |
commit | 0521722bd5c62989e1048b45cdb6a5f602a5d97c (patch) | |
tree | 4db70a61d5aee91bf951eb8ec6c21d5b0761b85e /src/plugins/cppeditor/cpphoverhandler.cpp | |
parent | 12847de5efbe240e445d7044116141d44a3744d5 (diff) | |
download | qt-creator-0521722bd5c62989e1048b45cdb6a5f602a5d97c.tar.gz |
Set auto save filter to false, it triggers an unnecessary db write.
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r-- | src/plugins/cppeditor/cpphoverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index c1be3357ec..4c3fbc650e 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -81,9 +81,9 @@ CppHoverHandler::CppHoverHandler(QObject *parent) m_helpEngine = new QHelpEngineCore(directory.absolutePath() + QLatin1String("/helpcollection.qhc"), this); - //m_helpEngine->setAutoSaveFilter(false); if (!m_helpEngine->setupData()) qWarning() << "Could not initialize help engine:" << m_helpEngine->error(); + m_helpEngine->setAutoSaveFilter(false); m_helpEngine->setCurrentFilter(tr("Unfiltered")); m_helpEngineNeedsSetup = m_helpEngine->registeredDocumentations().count() == 0; |