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 /subsurface.pro | |
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 'subsurface.pro')
-rw-r--r-- | subsurface.pro | 6 |
1 files changed, 2 insertions, 4 deletions
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 |