summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-02-11 09:10:34 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-11 07:59:46 -0800
commit013da6b0af3e3dd5d074f2dbbc342d9b948717b4 (patch)
tree4bc4cf314e0088f1c76736e45d3d7dcb817a0baf /qt-ui/mainwindow.ui
parent6374d9cc0334c7dc7af908b4cb9233a091a48740 (diff)
downloadsubsurface-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.ui4
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>&amp;Edit</string>
</property>
- <addaction name="action_Undo"/>
- <addaction name="action_Redo"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menu_Edit"/>