summaryrefslogtreecommitdiffabout
path: root/kaddressbook/undo.cpp
Unidiff
Diffstat (limited to 'kaddressbook/undo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/undo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/undo.cpp b/kaddressbook/undo.cpp
index 4442087..a6c1580 100644
--- a/kaddressbook/undo.cpp
+++ b/kaddressbook/undo.cpp
@@ -101,19 +101,19 @@ RedoStack* RedoStack::instance()
101 if (!instance_) 101 if (!instance_)
102 instance_ = new RedoStack(); 102 instance_ = new RedoStack();
103 return instance_; 103 return instance_;
104} 104}
105 105
106void RedoStack::redo() 106void RedoStack::redo()
107{ 107{
108 Command *command; 108 Command *command;
109 if (isEmpty()) 109 if (isEmpty())
110 return; 110 return;
111 111
112 command = pop(); 112 command = pop();
113 command->redo(); 113 command->redo();
114 UndoStack::instance()->push( command ); 114 UndoStack::instance()->push( command );
115} 115}
116 116
117#ifndef KAB_EMBEDDED 117#ifndef KAB_EMBEDDED_
118#include "undo.moc" 118#include "moc_undo.cpp"
119#endif //KAB_EMBEDDED 119#endif //KAB_EMBEDDED