diff options
Diffstat (limited to 'commands/command_base.cpp')
-rw-r--r-- | commands/command_base.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/command_base.cpp b/commands/command_base.cpp index 1f924378b..d13daf269 100644 --- a/commands/command_base.cpp +++ b/commands/command_base.cpp @@ -8,10 +8,14 @@ namespace Command { static QUndoStack undoStack; +// forward declaration +QString changesMade(); + // General commands void init() { QObject::connect(&undoStack, &QUndoStack::cleanChanged, &updateWindowTitle); + changesCallback = &changesMade; } void clear() |