summaryrefslogtreecommitdiff
path: root/muse2/muse/undo.cpp
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2011-09-08 02:05:32 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2011-09-08 02:05:32 +0000
commitd3e8a1b4c98cb3ba8b73f367ea88ad23f8dbca66 (patch)
tree921e5193e46287f0c34f4eff1590efb1df18d20f /muse2/muse/undo.cpp
parentff0c5e9154e7a3d71d2465639b5e0da1ea2c7242 (diff)
introducing namespaces
Diffstat (limited to 'muse2/muse/undo.cpp')
-rw-r--r--muse2/muse/undo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/undo.cpp b/muse2/muse/undo.cpp
index 571c7e99..c0191362 100644
--- a/muse2/muse/undo.cpp
+++ b/muse2/muse/undo.cpp
@@ -204,7 +204,7 @@ void UndoList::clearDelete()
void Song::startUndo()
{
redoList->clear(); // added by flo93: redo must be invalidated when
- redoAction->setEnabled(false); // a new undo is started
+ MusEGlobal::redoAction->setEnabled(false); // a new undo is started
undoList->push_back(Undo());
updateFlags = 0;
@@ -267,12 +267,12 @@ bool Song::applyOperationGroup(Undo& group, bool doUndo)
if (!doUndo)
{
undoList->pop_back();
- undoAction->setEnabled(!undoList->empty());
+ MusEGlobal::undoAction->setEnabled(!undoList->empty());
}
else
{
redoList->clear(); // added by flo93: redo must be invalidated when
- redoAction->setEnabled(false); // a new undo is started
+ MusEGlobal::redoAction->setEnabled(false); // a new undo is started
}
return doUndo;