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:
@@ -2147,9 +2147,9 @@ void CdbEngine::handleExtensionMessage(char t, int token, const QString &what, c
|
||||
const FilePath fileName = FilePath::fromUserInput(exception.file);
|
||||
const QString taskEntry = tr("Debugger encountered an exception: %1").arg(
|
||||
exception.toString(false).trimmed());
|
||||
TaskHub::addTask(type, taskEntry,
|
||||
Constants::TASK_CATEGORY_DEBUGGER_RUNTIME,
|
||||
fileName, exception.lineNumber);
|
||||
TaskHub::addTask(Task(type, taskEntry,
|
||||
fileName, exception.lineNumber,
|
||||
Constants::TASK_CATEGORY_DEBUGGER_RUNTIME));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user