From 4a24df38a3a164c51f9cdddd566c9928a7482a0a Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 29 Aug 2013 15:46:04 +0200 Subject: EditorManager: Use static pattern, adjust surrounding code Change-Id: I3255a0150cd9a730336456c5a9f986eb74fefbff Reviewed-by: Tobias Hunger --- src/plugins/cpptools/cppcompletion_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cppcompletion_test.cpp') diff --git a/src/plugins/cpptools/cppcompletion_test.cpp b/src/plugins/cpptools/cppcompletion_test.cpp index 9948577029..4248d9d431 100644 --- a/src/plugins/cpptools/cppcompletion_test.cpp +++ b/src/plugins/cpptools/cppcompletion_test.cpp @@ -91,7 +91,7 @@ public: ~CompletionTestCase() { - EditorManager::instance()->closeEditors(QList() << editor, + EditorManager::closeEditors(QList() << editor, /*askAboutModifiedEditors=*/ false); cmm->GC(); QVERIFY(cmm->snapshot().isEmpty()); -- cgit v1.2.1