forked from qt-creator/qt-creator
Debugger: Remove messaging indirection in DebuggerRunControl
The base functionality is good enough. Change-Id: Ie39398828733245e0e74ca9a2941c069116014f0 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -192,21 +192,6 @@ void DebuggerRunControl::handleFinished()
|
||||
debuggerCore()->runControlFinished(m_engine);
|
||||
}
|
||||
|
||||
void DebuggerRunControl::showMessage(const QString &msg, int channel)
|
||||
{
|
||||
switch (channel) {
|
||||
case AppOutput:
|
||||
appendMessage(msg, StdOutFormatSameLine);
|
||||
break;
|
||||
case AppError:
|
||||
appendMessage(msg, StdErrFormatSameLine);
|
||||
break;
|
||||
case AppStuff:
|
||||
appendMessage(msg, DebugFormat);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
bool DebuggerRunControl::promptToStop(bool *optionalPrompt) const
|
||||
{
|
||||
QTC_ASSERT(isRunning(), return true);
|
||||
|
||||
Reference in New Issue
Block a user