forked from qt-creator/qt-creator
MessageManager: General cleanup.
Apply 'static' pattern, rename 'printToOutputPane' to 'write' Change-Id: I6f31f1a8c914661e2a2182c0b6256b41ead28de7 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -1479,7 +1479,7 @@ void DebuggerPluginPrivate::parseCommandLineArguments()
|
||||
errorMessage = tr("Error evaluating command line arguments: %1")
|
||||
.arg(errorMessage);
|
||||
qWarning("%s\n", qPrintable(errorMessage));
|
||||
Core::MessageManager::instance()->printToOutputPane(errorMessage, Core::MessageManager::NoModeSwitch);
|
||||
MessageManager::write(errorMessage);
|
||||
}
|
||||
if (!m_scheduledStarts.isEmpty())
|
||||
QTimer::singleShot(0, this, SLOT(runScheduled()));
|
||||
|
||||
Reference in New Issue
Block a user