diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-12-02 18:42:05 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-12-02 18:42:05 +0100 |
commit | 100ea30a1a5ccb0af4adafbf08b8fa89fe3c0ee7 (patch) | |
tree | 0b2aca7b1533ac466e7d2312a6bd3fa1a0282ea1 /src/plugins/cppeditor | |
parent | f86ebcbf22d7df6be60f1fc5c9f0f30a76e104d6 (diff) | |
parent | e4be9edc4d538465338b8981294aa414a43b7255 (diff) | |
download | qt-creator-100ea30a1a5ccb0af4adafbf08b8fa89fe3c0ee7.tar.gz |
Merge remote-tracking branch 'origin/3.6'
Conflicts:
src/plugins/projectexplorer/toolchainmanager.cpp
src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp
Change-Id: Id736c6922670c921c689219cb817b1541eaaf304
Diffstat (limited to 'src/plugins/cppeditor')
-rw-r--r-- | src/plugins/cppeditor/cppeditordocument.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/cppeditor/cppeditordocument.cpp b/src/plugins/cppeditor/cppeditordocument.cpp index 3c52ad0ef3..e74aa05c46 100644 --- a/src/plugins/cppeditor/cppeditordocument.cpp +++ b/src/plugins/cppeditor/cppeditordocument.cpp @@ -63,8 +63,7 @@ CppTools::CppModelManager *mm() namespace CppEditor { namespace Internal { -enum { processDocumentIntervalInMs = 150, - clangProcessDocumentIntervalInMs = 500 }; +enum { processDocumentIntervalInMs = 150 }; class CppEditorDocumentHandleImpl : public CppTools::CppEditorDocumentHandle { @@ -292,10 +291,7 @@ void CppEditorDocument::releaseResources() void CppEditorDocument::initializeTimer() { m_processorTimer.setSingleShot(true); - if (mm()->isClangCodeModelActive()) - m_processorTimer.setInterval(clangProcessDocumentIntervalInMs); - else - m_processorTimer.setInterval(processDocumentIntervalInMs); + m_processorTimer.setInterval(processDocumentIntervalInMs); connect(&m_processorTimer, &QTimer::timeout, |