From 2665a1249bd666b260455b43462dcebcefaa3ff4 Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Wed, 17 Jul 2013 13:50:38 +0200 Subject: CppTools: Do not garbage collect files in the working copy ...except the configuration file if no projects are open. For this case there is no need to keep the configuration file around. Task-number: QTCREATORBUG-9829 Change-Id: I51b01b30c17cbc1ced491ef2c47c338dae6ed983 Reviewed-by: Erik Verbruggen --- src/plugins/cpptools/cpptoolsplugin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/cpptools/cpptoolsplugin.h') diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index 7b6ae5aad0..de48a8fe21 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -195,6 +195,7 @@ private slots: void test_modelmanager_snapshot_after_two_projects(); void test_modelmanager_extraeditorsupport_uiFiles(); void test_modelmanager_gc_if_last_cppeditor_closed(); + void test_modelmanager_dont_gc_opened_files(); private: void test_completion(); -- cgit v1.2.1