forked from qt-creator/qt-creator
Valgrind: Modernize
modernize-* Change-Id: I6db60dce78cf2575e36caa597b1f095adba34fd9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -190,7 +190,7 @@ void ValgrindToolRunner::receiveProcessError(const QString &message, QProcess::P
|
||||
return;
|
||||
|
||||
QObject *obj = ExtensionSystem::PluginManager::getObjectByName("AppOutputPane");
|
||||
if (IOutputPane *pane = qobject_cast<IOutputPane *>(obj))
|
||||
if (auto pane = qobject_cast<IOutputPane *>(obj))
|
||||
pane->popup(IOutputPane::NoModeSwitch);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user