forked from qt-creator/qt-creator
EditorManager: Use static pattern, adjust surrounding code
Change-Id: I3255a0150cd9a730336456c5a9f986eb74fefbff Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -264,7 +264,7 @@ TestCase::~TestCase()
|
||||
if (testFile->editor)
|
||||
editorsToClose << testFile->editor;
|
||||
}
|
||||
EditorManager::instance()->closeEditors(editorsToClose, false);
|
||||
EditorManager::closeEditors(editorsToClose, false);
|
||||
QCoreApplication::processEvents(); // process any pending events
|
||||
|
||||
// Remove the test files from the code-model
|
||||
|
||||
Reference in New Issue
Block a user