Commit 243a34c7 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Erik Verbruggen

CppTools: Fix test_modelmanager_defines_per_project

Change-Id: Ia2e4dc776d3040d2ccb13d9b029c2f0cc8db0fcd
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent ba2d7a4f
......@@ -775,7 +775,7 @@ struct EditorCloser {
~EditorCloser()
{
if (editor)
Core::EditorManager::closeEditors(QList<Core::IEditor*>() << editor);
Core::Tests::closeAndDeleteEditor(editor);
}
};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment