forked from qt-creator/qt-creator
TaskHub: Add convenience function to add a task and clean up users
Change-Id: I5c76f8af720092d4e47b1a9fa889fb3a7010f21f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -687,9 +687,7 @@ void GdbEngine::handleResponse(const QByteArray &buff)
|
||||
m_lastWinException = msgWinException(data, &exCode);
|
||||
showMessage(m_lastWinException, LogMisc);
|
||||
const Task::TaskType type = isFatalWinException(exCode) ? Task::Error : Task::Warning;
|
||||
const Task task(type, m_lastWinException, Utils::FileName(), 0,
|
||||
Core::Id(Debugger::Constants::TASK_CATEGORY_DEBUGGER_RUNTIME));
|
||||
TaskHub::addTask(task);
|
||||
TaskHub::addTask(type, m_lastWinException, Constants::TASK_CATEGORY_DEBUGGER_RUNTIME);
|
||||
}
|
||||
|
||||
if (data.startsWith("QMLBP:")) {
|
||||
|
||||
Reference in New Issue
Block a user