summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2012-06-18 11:34:15 +0200
committerhjk <qthjk@ovi.com>2012-06-19 16:11:40 +0200
commite3c354d8f2ece80ec221ea85cf0058f433f7af98 (patch)
tree9f68a2e946a37d690b9def642dea85ecc3b0caf2 /src/plugins/valgrind
parent9daa34003dd64df6795b781cf0286f9e6c71b7dc (diff)
downloadqt-creator-e3c354d8f2ece80ec221ea85cf0058f433f7af98.tar.gz
Make PluginManager mostly static.
Change-Id: Ib938aa4999c7c418a82304c5cca2e8748ef9d228 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/valgrind')
-rw-r--r--src/plugins/valgrind/valgrindengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp
index d7f35b68ce..6d86967c36 100644
--- a/src/plugins/valgrind/valgrindengine.cpp
+++ b/src/plugins/valgrind/valgrindengine.cpp
@@ -190,8 +190,7 @@ void ValgrindEngine::receiveProcessError(const QString &error, QProcess::Process
return;
///FIXME: get a better API for this into Qt Creator
- ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
- QList<Core::IOutputPane *> panes = pm->getObjects<Core::IOutputPane>();
+ QList<Core::IOutputPane *> panes = ExtensionSystem::PluginManager::getObjects<Core::IOutputPane>();
foreach (Core::IOutputPane *pane, panes) {
if (pane->displayName() == tr("Application Output")) {
pane->popup(false);