diff options
author | hjk <hjk@qt.io> | 2020-01-15 08:56:11 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-01-20 10:11:59 +0000 |
commit | 0334b6e491a3688f2455e075595afde87b8f76af (patch) | |
tree | cc63a1fae976a46ea6ddc5d2cb956d1d7ac37516 /src/plugins/nim/project/nimblebuildstep.cpp | |
parent | 7e19d1af7c356dae703e110f9d24b75429ef8fb5 (diff) | |
download | qt-creator-0334b6e491a3688f2455e075595afde87b8f76af.tar.gz |
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>
Diffstat (limited to 'src/plugins/nim/project/nimblebuildstep.cpp')
-rw-r--r-- | src/plugins/nim/project/nimblebuildstep.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/nim/project/nimblebuildstep.cpp b/src/plugins/nim/project/nimblebuildstep.cpp index be264b9045..43fb20da23 100644 --- a/src/plugins/nim/project/nimblebuildstep.cpp +++ b/src/plugins/nim/project/nimblebuildstep.cpp @@ -87,12 +87,7 @@ private: else return; - Task task(type, - message, - Utils::FilePath::fromUserInput(filename), - lineNumber, - ProjectExplorer::Constants::TASK_CATEGORY_COMPILE); - emit addTask(task); + emit addTask(CompileTask(type, message, FilePath::fromUserInput(filename), lineNumber)); } }; |