diff options
| author | Nikolai Kosjar <[email protected]> | 2013-12-17 13:54:52 +0100 |
|---|---|---|
| committer | Nikolai Kosjar <[email protected]> | 2014-01-07 14:19:43 +0100 |
| commit | 746da71527c2bd62e216e6727e6763ab7cda1c95 (patch) | |
| tree | e07a53b19b653f31272411e32afca343491a318d /src/plugins/cpptools/cppmodelmanager.h | |
| parent | 0bd59178679ea1f573b484e5f2baf178352c44ef (diff) | |
CppEditor/CppTools: Avoid triggering garbage collector on editor close in tests
Closing an editor might trigger a timer which leads to the invocation of
the garbage collector. This is unfavourable for the plugin tests since a
test function closing an editor might influence a subsequent test
function (e.g. files get removed from the global snapshot although they
were added shortly before).
Change-Id: Ia80c11f99e2437fe145dc2d983b21962539b5181
Reviewed-by: Erik Verbruggen <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager.h')
| -rw-r--r-- | src/plugins/cpptools/cppmodelmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager.h b/src/plugins/cpptools/cppmodelmanager.h index 431c08aa38b..4db0ffe63a6 100644 --- a/src/plugins/cpptools/cppmodelmanager.h +++ b/src/plugins/cpptools/cppmodelmanager.h @@ -152,6 +152,8 @@ public: return m_definedMacros; } + void enableGarbageCollector(bool enable); + static QStringList timeStampModifiedFiles(const QList<Document::Ptr> documentsToCheck); signals: |
