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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/command_base.h b/desktop-widgets/command_base.h
index cf8f248d2..85ca6f8de 100644
--- a/desktop-widgets/command_base.h
+++ b/desktop-widgets/command_base.h
@@ -168,8 +168,8 @@ public:
// 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);
+// If nothing is to be done, the command will be deleted and false is returned.
+bool execute(Base *cmd);
} // namespace Command