subsurface/qt-ui
Dirk Hohndel a94c84d598 Undo/redo of dive deletion needs to handle trips as well
If we delete dives that were part of a trip, that trip may get deleted as
well. So if we undo that operation we need to bring back the trip, too.

This also deals with a bug in the original code that did the delete both
in calling code (in divelistview.cpp) and in the redo function. Because of
the nature of the delete this didn't really matter but it is of course
wrong and with the new code it would in fact cause an issue.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-02 14:50:12 -04:00
..
css
marble
profile Add refreshProfile member function to MainWindow class 2015-09-22 19:58:14 -07:00
statistics Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
about.cpp Re-assign numbers for beta versions 2015-09-03 07:40:14 -07:00
about.h
about.ui
btdeviceselectiondialog.cpp Fix build error on Windows with Qt5.5 2015-09-20 15:08:14 -07:00
btdeviceselectiondialog.h Fix build error on Windows with Qt5.5 2015-09-20 15:08:14 -07:00
btdeviceselectiondialog.ui Style and readability tweaks to btdeviceselectiondialog 2015-09-05 07:08:20 -07:00
configuredivecomputerdialog.cpp Reset progressbar on disconnect 2015-09-25 09:56:58 -07:00
configuredivecomputerdialog.h Connect up custom serial in dc configuration 2015-09-12 14:02:32 -07:00
configuredivecomputerdialog.ui Probe and expose OSTC3 model information 2015-09-25 09:56:11 -07:00
divecomponentselection.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
divecomputermanagementdialog.cpp Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Undo/redo of dive deletion needs to handle trips as well 2015-10-02 14:50:12 -04:00
divelistview.h Add support to "split" a dive with surface time in the middle 2015-10-01 22:29:43 -04:00
divelogexportdialog.cpp More style and readability changes 2015-09-05 07:42:57 -07:00
divelogexportdialog.h HTML export: separate UI and logic code 2015-06-16 14:04:41 -07:00
divelogexportdialog.ui Default to first tab on export 2015-07-21 07:33:31 -07:00
divelogimportdialog.cpp CSV import: strip whitespace from column names before matching 2015-09-11 11:10:36 -07:00
divelogimportdialog.h Clean up CSV import parameters 2015-08-27 08:59:44 -07:00
divelogimportdialog.ui Layout issues: Fix the DiveImportDialog 2015-05-25 17:45:11 -07:00
divepicturewidget.cpp Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
divepicturewidget.h Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
diveplanner.cpp Don't offer gas selection for the last waypoint in planner 2015-09-11 09:15:14 -07:00
diveplanner.h VPM-B: Add conservatism levels to the ui. Fix planner settings disabling. 2015-08-15 15:16:51 +02:00
diveplanner.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
diveshareexportdialog.cpp Remove unneeded includes 2015-08-31 15:12:18 -07:00
diveshareexportdialog.h
diveshareexportdialog.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
downloadfromdivecomputer.cpp Uemis downloader: start downloading using the correct dive ID 2015-09-19 21:30:33 -07:00
downloadfromdivecomputer.h Only enable Bluetooth support if building against Qt5.4 or newer 2015-07-20 09:35:00 -07:00
downloadfromdivecomputer.ui More style and readability changes 2015-09-05 07:42:57 -07:00
filterwidget.ui
globe.cpp Don't zoom out the globe if the dive site has no GPS 2015-10-01 07:52:13 -04:00
globe.h Enable building with NO_MARBLE again 2015-07-31 11:01:57 -07:00
graphicsview-common.cpp
graphicsview-common.h
groupedlineedit.cpp Change colors of stars if widget has focus 2015-08-15 05:00:30 -07:00
groupedlineedit.h
kmessagewidget.cpp KMessageWidget: hide messages regardless whether it's visible 2015-07-16 10:55:55 -07:00
kmessagewidget.h Update KMessageWidget to KF5 2015-06-03 21:26:31 -07:00
listfilter.ui Layout issues: Fix spacing for the filter dialog 2015-05-25 17:43:08 -07:00
locationinformation.cpp Avoid NULL dereference 2015-10-01 21:24:04 -04:00
locationinformation.h Do not set text on the Location LineEdit 2015-09-27 06:43:18 -04:00
locationInformation.ui Make it possible to use Subsurface in height=768 2015-09-02 15:25:44 -07:00
maintab.cpp Make dive trip location edit work again. 2015-10-01 18:01:34 -04:00
maintab.h Make dive trip location edit work again. 2015-10-01 18:01:34 -04:00
maintab.ui Add a new QLineEdit to set the dive trip location 2015-10-01 17:59:44 -04:00
mainwindow.cpp Cloud storage: show progress bar when using Save with cloud storage open 2015-09-28 13:05:20 -04:00
mainwindow.h Add refreshProfile member function to MainWindow class 2015-09-22 19:58:14 -07:00
mainwindow.ui Make Facebook more user friendly 2015-09-16 21:16:58 -07:00
metrics.cpp
metrics.h
modeldelegates.cpp Use correct colors on selection 2015-07-20 21:43:20 -07:00
modeldelegates.h Create a delegate to display custom data 2015-07-01 19:24:52 -07:00
notificationwidget.cpp Cloud storage: clear our last error if verification succeeds 2015-06-14 14:18:51 -07:00
notificationwidget.h Cloud storage: clear our last error if verification succeeds 2015-06-14 14:18:51 -07:00
plannerDetails.ui Layout issues: Fix planner layout 2015-05-25 17:45:13 -07:00
plannerSettings.ui Use Bühlmann in all strings shown to the user 2015-09-16 21:16:58 -07:00
preferences.cpp Remove the fb preferences page if build without fb 2015-09-16 21:16:58 -07:00
preferences.h Make password change asynchronous 2015-07-22 15:06:57 -07:00
preferences.ui Add icon for georeference in preferences 2015-09-23 21:58:23 -07:00
printdialog.cpp Printing: use the same code for both statistics and divelist print 2015-08-22 18:36:19 +03:00
printdialog.h Printing: add template_options struct that contains template 2015-07-05 21:00:25 +03:00
printoptions.cpp printoptions.cpp: add missing tr() calls 2015-10-01 12:55:29 -04:00
printoptions.h Printing: add statistics templates to the dialog 2015-08-22 18:34:34 +03:00
printoptions.ui Printing: add "Import", "Export" and "Delete" buttons for templates 2015-07-28 11:37:51 +03:00
qtwaitingspinner.cpp Add a new class, QtWaitingSpinner, MIT Licensed. 2015-05-17 15:00:25 -07:00
qtwaitingspinner.h Add a new class, QtWaitingSpinner, MIT Licensed. 2015-05-17 15:00:25 -07:00
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui Add checkbox to force images to match dives 2015-09-11 09:18:55 -07:00
shifttimes.ui
simplewidgets.cpp Avoid having uninitialized member 2015-10-01 22:02:53 -04:00
simplewidgets.h Add checkbox to force images to match dives 2015-09-11 09:18:55 -07:00
socialnetworks.cpp Make Facebook more user friendly 2015-09-16 21:16:58 -07:00
socialnetworks.h Make Facebook more user friendly 2015-09-16 21:16:58 -07:00
socialnetworksdialog.ui
starwidget.cpp Minor code cleanup. 2015-08-15 05:01:33 -07:00
starwidget.h
subsurfacewebservices.cpp Make importing of GPS locations less verbose 2015-09-28 13:11:44 -04:00
subsurfacewebservices.h Make password change asynchronous 2015-07-22 15:06:57 -07:00
tableview.cpp Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
tableview.h TableView - improving the column width calculation 2015-03-19 15:33:16 -07:00
tableview.ui
tagwidget.cpp Remove information panel from mainwindow.ui 2015-02-10 10:45:45 -08:00
tagwidget.h
templateedit.cpp Printing: minor fixes as suggested by Lubomir 2015-09-16 21:32:22 -07:00
templateedit.h Printing: fix TemplateEdit color selection bug 2015-08-15 15:02:04 +03:00
templateedit.ui Style & spelling changes to printing 2015-09-05 07:43:11 -07:00
undocommands.cpp Undo/redo of dive deletion needs to handle trips as well 2015-10-02 14:50:12 -04:00
undocommands.h Undo/redo of dive deletion needs to handle trips as well 2015-10-02 14:50:12 -04:00
updatemanager.cpp Remove unneeded includes 2015-08-31 15:12:18 -07:00
updatemanager.h
urldialog.ui Allow images to be added via the web 2015-04-24 09:36:21 -07:00
usermanual.cpp
usermanual.h
usersurvey.cpp Move helper functions around 2015-02-23 09:31:08 -08:00
usersurvey.h Move helper functions around 2015-02-23 09:31:08 -08:00
usersurvey.ui
webservices.ui