forked from qt-creator/qt-creator
ProjectManager: Add convenience Task subclasses
For Compile, BuildSystem and Deployment. Unclutters user code and reduces binary size. Change-Id: Ia18e917bb411754162e9f4ec6056d752a020bb50 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -329,7 +329,8 @@ void GdbEngine::handleResponse(const QString &buff)
|
||||
m_lastWinException = msgWinException(data, &exCode);
|
||||
showMessage(m_lastWinException, LogMisc);
|
||||
const Task::TaskType type = isFatalWinException(exCode) ? Task::Error : Task::Warning;
|
||||
TaskHub::addTask(type, m_lastWinException, Constants::TASK_CATEGORY_DEBUGGER_RUNTIME);
|
||||
TaskHub::addTask(Task(type, m_lastWinException, {}, -1,
|
||||
Constants::TASK_CATEGORY_DEBUGGER_RUNTIME));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user