debugger: some people find the log view annoying, even for serious errors

Change-Id: If45028926e0ea444c34276da4a891141bffec80e
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-02-22 12:46:47 +01:00
committed by hjk
parent e14b89f8c6
commit 3a48904972

View File

@@ -2592,14 +2592,10 @@ void DebuggerPluginPrivate::showMessage(const QString &msg, int channel, int tim
m_logWindow->showInput(LogInput, msg);
m_logWindow->showOutput(LogInput, msg);
break;
case LogError: {
m_logWindow->showOutput(channel, msg);
QAction *action = m_mainWindow->dockWidget(_(DOCKWIDGET_OUTPUT))
->toggleViewAction();
if (!action->isChecked())
action->trigger();
case LogError:
m_logWindow->showInput(LogError, QLatin1String("ERROR: ") + msg);
m_logWindow->showOutput(LogError, QLatin1String("ERROR: ") + msg);
break;
}
case QtMessageLogStatus:
QTC_ASSERT(m_qtMessageLogWindow, return);
m_qtMessageLogWindow->showStatus(msg, timeout);