summaryrefslogtreecommitdiff
path: root/src/plugins/qtsupport/qtoptionspage.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-08-30 09:22:42 +0200
committerhjk <hjk121@nokiamail.com>2013-09-02 12:41:47 +0200
commitdf361843714f81b1ac461c697f511ac0cd0a35a6 (patch)
tree78f8126850f646fadbac848efb65b431061763d7 /src/plugins/qtsupport/qtoptionspage.cpp
parentba1d8e2c4d90bd1129b3b1f42574effc8813c55b (diff)
downloadqt-creator-df361843714f81b1ac461c697f511ac0cd0a35a6.tar.gz
Core: Static pattern for ProgressManager, clean up all users
Change-Id: I4af8793ca69a3af9e99baeb7c31dad3864266f91 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/qtsupport/qtoptionspage.cpp')
-rw-r--r--src/plugins/qtsupport/qtoptionspage.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp
index 3890b32314..4a497bf23a 100644
--- a/src/plugins/qtsupport/qtoptionspage.cpp
+++ b/src/plugins/qtsupport/qtoptionspage.cpp
@@ -40,7 +40,6 @@
#include "qmldebugginglibrary.h"
#include "qmlobservertool.h"
-#include <coreplugin/icore.h>
#include <coreplugin/progressmanager/progressmanager.h>
#include <projectexplorer/toolchainmanager.h>
#include <projectexplorer/projectexplorerconstants.h>
@@ -459,8 +458,7 @@ void QtOptionsPageWidget::buildDebuggingHelper(DebuggingHelperBuildTask::Tools t
QFuture<void> task = QtConcurrent::run(&DebuggingHelperBuildTask::run, buildTask);
const QString taskName = tr("Building helpers");
- Core::ICore::progressManager()->addTask(task, taskName,
- QLatin1String("Qt4ProjectManager::BuildHelpers"));
+ Core::ProgressManager::addTask(task, taskName, QLatin1String("Qt4ProjectManager::BuildHelpers"));
}
void QtOptionsPageWidget::buildGdbHelper()
{