Commit f90eacd8 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger[CDB]: Handle debugger warnings correctly.

Prevent window from popping up repeatedly on warnings.
Task-number: QTCREATORBUG-1061
parent 746d73c3
......@@ -45,7 +45,7 @@ static int logChannel(ULONG mask)
return LogMisc;
return LogError;
return LogWarning;
if (mask & (DEBUG_OUTPUT_ERROR))
return LogError;
return LogMisc;
......@@ -185,6 +185,7 @@ void DebuggerUISwitcher::modeChanged(Core::IMode *mode)
void DebuggerUISwitcher::hideInactiveWidgets()
// Hide/Show dock widgets manually in case they are floating.
if (!d->m_isActiveMode) {
// hide all the debugger windows if mode is different
foreach(Internal::DebugToolWindow *window, d->m_dockWidgets) {
Markdown is supported
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