Commit 3a489049 authored by hjk's avatar hjk Committed by hjk
Browse files

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



Change-Id: If45028926e0ea444c34276da4a891141bffec80e
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e14b89f8
...@@ -2592,14 +2592,10 @@ void DebuggerPluginPrivate::showMessage(const QString &msg, int channel, int tim ...@@ -2592,14 +2592,10 @@ void DebuggerPluginPrivate::showMessage(const QString &msg, int channel, int tim
m_logWindow->showInput(LogInput, msg); m_logWindow->showInput(LogInput, msg);
m_logWindow->showOutput(LogInput, msg); m_logWindow->showOutput(LogInput, msg);
break; break;
case LogError: { case LogError:
m_logWindow->showOutput(channel, msg); m_logWindow->showInput(LogError, QLatin1String("ERROR: ") + msg);
QAction *action = m_mainWindow->dockWidget(_(DOCKWIDGET_OUTPUT)) m_logWindow->showOutput(LogError, QLatin1String("ERROR: ") + msg);
->toggleViewAction();
if (!action->isChecked())
action->trigger();
break; break;
}
case QtMessageLogStatus: case QtMessageLogStatus:
QTC_ASSERT(m_qtMessageLogWindow, return); QTC_ASSERT(m_qtMessageLogWindow, return);
m_qtMessageLogWindow->showStatus(msg, timeout); m_qtMessageLogWindow->showStatus(msg, timeout);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment