summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command_base.h')
-rw-r--r--desktop-widgets/command_base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/command_base.h b/desktop-widgets/command_base.h
index 26744dc87..cf8f248d2 100644
--- a/desktop-widgets/command_base.h
+++ b/desktop-widgets/command_base.h
@@ -166,9 +166,9 @@ public:
virtual bool workToBeDone() = 0;
};
-// Put a command on the undoStack, but test whether there is something to be done
-// beforehand by calling the workToBeDone() function. If nothing is to be done,
-// the command will be deleted.
+// Put a command on the undoStack (and take ownership), but test whether there
+// is something to be done beforehand by calling the workToBeDone() function.
+// If nothing is to be done, the command will be deleted.
void execute(Base *cmd);
} // namespace Command