Commit 0a8f9326 authored by Christian Kandeler's avatar Christian Kandeler Committed by Tobias Hunger
Browse files

ProjectExplorer: Add convenience function BuildStepList::appendStep().



In most cases, there is no value in writing out the index explicitly,
and it is downright annoying when adding steps conditionally.

Change-Id: I2a3947d3dbc11364046c0917c661497d0720725a
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent eb682d15
......@@ -58,6 +58,7 @@ public:
bool contains(const Core::Id id) const;
void insertStep(int position, BuildStep *step);
void appendStep(BuildStep *step) { insertStep(count(), step); }
bool removeStep(int position);
void moveStepUp(int position);
BuildStep *at(int position);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment