diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-05-03 15:58:01 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-05-06 10:04:07 +0200 |
commit | fa9d57fb689fc76416eaa4f1dadd89a83acdaa48 (patch) | |
tree | afea1449108d84c300b559201f3d5780f3545e29 /src/plugins/projectexplorer/task.h | |
parent | b2a355725f0af1326708477d745c298183e9997e (diff) | |
download | qt-creator-fa9d57fb689fc76416eaa4f1dadd89a83acdaa48.tar.gz |
Task: Add clear method
Avoid needless increments of the task id counter for Task().
Change-Id: I6243b4fe9e8fd91653e236722282fa8f8a9ed82d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/task.h')
-rw-r--r-- | src/plugins/projectexplorer/task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/task.h b/src/plugins/projectexplorer/task.h index b566fba6ee..a789f8951e 100644 --- a/src/plugins/projectexplorer/task.h +++ b/src/plugins/projectexplorer/task.h @@ -57,6 +57,7 @@ public: const Utils::FileName &file_, int line_, const Core::Id &category_); bool isNull() const; + void clear(); unsigned int taskId; TaskType type; |