From 013da6b0af3e3dd5d074f2dbbc342d9b948717b4 Mon Sep 17 00:00:00 2001 From: Grace Karanja Date: Wed, 11 Feb 2015 09:10:34 +0300 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface.pro | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'subsurface.pro') diff --git a/subsurface.pro b/subsurface.pro index e59b32378..5fb6ab5d2 100644 --- a/subsurface.pro +++ b/subsurface.pro @@ -104,8 +104,7 @@ HEADERS = \ qt-ui/statistics/statisticsbar.h \ qt-ui/statistics/yearstatistics.h \ qt-ui/diveshareexportdialog.h \ - qt-ui/filtermodels.h \ - qt-ui/undobuffer.h + qt-ui/filtermodels.h android: HEADERS -= \ qt-ui/usermanual.h \ @@ -199,8 +198,7 @@ SOURCES = \ qt-ui/statistics/statisticsbar.cpp \ qt-ui/statistics/monthstatistics.cpp \ qt-ui/diveshareexportdialog.cpp \ - qt-ui/filtermodels.cpp \ - qt-ui/undobuffer.cpp + qt-ui/filtermodels.cpp android: SOURCES += android.cpp else: win32: SOURCES += windows.c -- cgit v1.2.3-70-g09d2