forked from qt-creator/qt-creator
core: remove usages of Core::ICore::instance()->modeManager()
The function is still there but should be remove in my opinion. Change-Id: I739fe942e74f459faccb80b5bcb8a5721c6bb9bf Reviewed-on: http://codereview.qt.nokia.com/4200 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -738,8 +738,7 @@ void TestSelector::showSystemTests(bool show)
|
||||
|
||||
void TestSelector::init()
|
||||
{
|
||||
Core::ICore *core = Core::ICore::instance();
|
||||
Core::ModeManager *mgr = core->modeManager();
|
||||
Core::ModeManager *mgr = Core::ModeManager::instance();
|
||||
if (mgr && mgr->currentMode()->id() == "Edit") {
|
||||
TestConfigurations *tc = &TestConfigurations::instance();
|
||||
if (tc->activeConfiguration()) {
|
||||
|
||||
Reference in New Issue
Block a user