diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-02-11 09:10:34 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-11 07:59:46 -0800 |
commit | 013da6b0af3e3dd5d074f2dbbc342d9b948717b4 (patch) | |
tree | 4bc4cf314e0088f1c76736e45d3d7dcb817a0baf /qt-ui/mainwindow.ui | |
parent | 6374d9cc0334c7dc7af908b4cb9233a091a48740 (diff) | |
download | subsurface-013da6b0af3e3dd5d074f2dbbc342d9b948717b4.tar.gz |
Reverse undo buffer
Reverse all the code using the UndoBuffer class so that we can
use the QUndoStack and QUndoCommand classes. These are Qt's own
inbuild undo framework classes, offering a better undo/redo
process.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index ced02c964..b6cd4a358 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -50,7 +50,7 @@ <x>0</x> <y>0</y> <width>861</width> - <height>32</height> + <height>25</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -130,8 +130,6 @@ <property name="title"> <string>&Edit</string> </property> - <addaction name="action_Undo"/> - <addaction name="action_Redo"/> </widget> <addaction name="menuFile"/> <addaction name="menu_Edit"/> |