forked from qt-creator/qt-creator
Make PluginManager mostly static.
Change-Id: Ib938aa4999c7c418a82304c5cca2e8748ef9d228 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user