subsurface/qt-ui
Dirk Hohndel 8d05c71ca2 Fix renumbering of dives
The implementation in commit 182fe790c9 ("Add ability to undo
renumbering of dives") looks perfectly reasonable, but it depends on an
implementation detail: it assumes that the keys of the QMap are returned
in the same order in which they were placed there. Which apparently isn't
the case for some version of Qt.

With this commit we simply remember both the old and the new number for
each dive and therefore the order in which they are processed doesn't
matter.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-06-14 21:49:34 -07:00
..
css
marble
profile Move DivePlotDataModel to qt-models 2015-05-29 14:14:43 -07:00
statistics Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
about.cpp add and use a version.c / version.h pair 2015-02-15 13:26:51 -08:00
about.h Headers cleanup. 2014-06-26 15:47:02 -07:00
about.ui
configuredivecomputerdialog.cpp Wire gui for diagnostic logs from dc configuration 2015-05-27 15:37:50 -07:00
configuredivecomputerdialog.h Wire gui for diagnostic logs from dc configuration 2015-05-27 15:37:50 -07:00
configuredivecomputerdialog.ui Wire gui for diagnostic logs from dc configuration 2015-05-27 15:37:50 -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 Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divecomputermanagementdialog.ui divecomputermanagementdilog capitalisation consitency 2014-07-10 16:26:20 -07:00
divelistview.cpp Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
divelistview.h Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
divelogexportdialog.cpp Do not connect null to a signal 2015-05-25 17:45:13 -07:00
divelogexportdialog.h Revert "Update Qt4 patch" 2015-02-22 08:30:34 -08:00
divelogexportdialog.ui Layout issues: Fix the export dialog 2015-05-25 17:43:21 -07:00
divelogimportdialog.cpp Add suit field for CSV import 2015-04-24 06:50:50 -07:00
divelogimportdialog.h Import support for new Seabear format 2015-03-23 05:44:06 -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 Move DivePlannerModel and CylinderModel to qt-models 2015-05-29 14:09:13 -07:00
diveplanner.h Move DivePlannerModel and CylinderModel to qt-models 2015-05-29 14:09:13 -07:00
diveplanner.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
diveshareexportdialog.cpp Move helper functions around 2015-02-23 09:31:08 -08:00
diveshareexportdialog.h Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.ui Layout issues: Fix DiveShare export dialog 2015-05-25 17:45:13 -07:00
downloadfromdivecomputer.cpp Fewer rebuilds triggered by changes in models.h 2015-05-29 14:13:44 -07:00
downloadfromdivecomputer.h Dive d/l selection UI: clear table when retrying 2015-01-11 07:46:21 -08:00
downloadfromdivecomputer.ui Layout issues: Fix DownloadFromDiveComputer 2015-05-25 17:45:13 -07:00
filterwidget.ui Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
globe.cpp Simplify distance calculations 2015-06-13 21:08:11 -07:00
globe.h Add helper function to determine the distance between two points 2015-06-10 11:51:15 -07:00
graphicsview-common.cpp CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
graphicsview-common.h CCR option: display o2 sensor data 2015-01-21 17:00:18 +12:00
groupedlineedit.cpp Remove support for Qt4 (part 6) 2015-05-24 09:37:23 -07:00
groupedlineedit.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
kmessagewidget.cpp Update KMessageWidget to KF5 2015-06-03 21:26:31 -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 Change the name of the dive site on the globe 2015-06-07 08:04:37 -07:00
locationinformation.h Different states for edit / add dive site 2015-06-03 21:36:42 -07:00
locationInformation.ui Set the MessageBox stretching rules. 2015-06-03 21:48:19 -07:00
maintab.cpp When done reverse geocoding, hide the notification 2015-06-10 12:30:02 -07:00
maintab.h Always send the UUID of the coordinates to the globe 2015-06-07 08:04:32 -07:00
maintab.ui Create a new DiveSite when user clicks on add 2015-06-01 13:24:37 -07:00
mainwindow.cpp Cloud storage: only offer cloud storage related options when verified 2015-06-14 15:42:28 -07:00
mainwindow.h Cloud storage: only offer cloud storage related options when verified 2015-06-14 15:42:28 -07:00
mainwindow.ui Main menu: rephrase the cloud load/save options 2015-06-14 08:40:29 -07:00
metrics.cpp Unify icon metrics 2014-10-18 15:16:15 -07:00
metrics.h Unify icon metrics 2014-10-18 15:16:15 -07:00
modeldelegates.cpp Move DiveTripModel to qt-models 2015-05-29 14:13:00 -07:00
modeldelegates.h Turn of replotting while the cylinder type combo box is active 2014-12-17 21:33:55 -08: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 Layout issues: Fix planner layout 2015-05-25 17:45:13 -07:00
preferences.cpp Cloud storage: only offer cloud storage related options when verified 2015-06-14 15:42:28 -07:00
preferences.h Cloud storage: clean up handling of cloud storage account 2015-06-14 14:06:28 -07:00
preferences.ui Cloud storage: show in preferences if cloud account was verified 2015-06-14 14:06:44 -07:00
printdialog.cpp Make Subsurface compile with NO_PRINTING set 2015-06-04 10:18:37 -07:00
printdialog.h Make Subsurface compile with NO_PRINTING set 2015-06-04 10:18:37 -07:00
printoptions.cpp Printing: remove the print_options struct from display.h 2015-06-04 10:07:59 -07:00
printoptions.h Printing: remove the print_options struct from display.h 2015-06-04 10:07:59 -07:00
printoptions.ui Printing: Edit the print options widget 2015-06-04 10:07:50 -07: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 Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
searchbar.ui Add a horizontal spacer to make the searchbar layout better 2014-07-11 17:00:23 -07:00
setpoint.ui A widget to add a set-point change 2014-12-01 14:19:03 -08:00
shiftimagetimes.ui Added warning when not all images can be added. 2015-03-15 15:47:37 -07:00
shifttimes.ui shiftimes capitalisation consitency and title 2014-07-11 07:05:17 -07:00
simplewidgets.cpp Fix renumbering of dives 2015-06-14 21:49:34 -07:00
simplewidgets.h Move Locationinformation to its own file. 2015-05-17 13:51:13 -07:00
socialnetworks.cpp Get location for Facebook from dive site 2015-02-12 22:45:47 -08:00
socialnetworks.h Facebook integration: Album name is required 2014-12-29 11:59:21 -08:00
socialnetworksdialog.ui Facebook integration: improve dialog layout 2014-12-29 11:58:38 -08:00
starwidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
starwidget.h Unify icon metrics 2014-10-18 15:16:15 -07:00
subsurfacewebservices.cpp Cloud storage: clear our last error if verification succeeds 2015-06-14 14:18:51 -07:00
subsurfacewebservices.h Cloud storage: clean up handling of cloud storage account 2015-06-14 14:06:28 -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 Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
tagwidget.cpp Remove information panel from mainwindow.ui 2015-02-10 10:45:45 -08:00
tagwidget.h 727 fixed 2014-11-17 06:02:21 +00:00
undocommands.cpp Fix renumbering of dives 2015-06-14 21:49:34 -07:00
undocommands.h Fix renumbering of dives 2015-06-14 21:49:34 -07:00
updatemanager.cpp Move helper functions around 2015-02-23 09:31:08 -08:00
updatemanager.h Add unique but random UUID to server queries 2015-01-25 12:02:13 -08:00
urldialog.ui Allow images to be added via the web 2015-04-24 09:36:21 -07:00
usermanual.cpp Make search and close shortcut for user manual work on Mac 2015-01-28 14:30:19 -08:00
usermanual.h Make search and close shortcut for user manual work on Mac 2015-01-28 14:30:19 -08:00
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 Include iPhone companion app to user survey 2015-01-30 22:48:08 -08:00
webservices.ui webservice capitalisation consitency 2014-07-11 07:05:38 -07:00