subsurface/desktop-widgets
Berthold Stoeger 35b8a4f404 Core: split process_dives() in post-import and post-load versions
process_dives() is used to post-process the dive table after loading
or importing. The first parameter states whether this was after
load or import.

Especially in the light of undo, load and import are fundamentally
different things. Notably, that latter should be undo-able, whereas
the former is not. Therefore, as a first step to make import undo-able,
split the function in two versions and remove the first parameter.

It turns out the the load-version is very light. It only sets the
DC nicknames and sorts the dive-table. There seems to be no reason
to merge dives.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-09-23 11:50:53 -07:00
..
css
plugins desktop-widgets/facebook: remove SettingsObjectWrapper 2018-08-15 16:11:39 -07:00
preferences Desktop/settings: hook up button to clear remembered DCs 2018-09-23 11:49:30 -07:00
statistics Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
tab-widgets Desktop: disable UI elements that make no sense during editing 2018-09-14 10:00:54 +02:00
about.cpp
about.h
about.ui
btdeviceselectiondialog.cpp
btdeviceselectiondialog.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
btdeviceselectiondialog.ui
CMakeLists.txt
configuredivecomputerdialog.cpp Cleanup: we don't support configuring a Uemis SDA 2018-08-28 12:03:03 -07:00
configuredivecomputerdialog.h Make device enumeration use the device transport data 2018-08-27 22:10:38 -07:00
configuredivecomputerdialog.ui
divecomponentselection.ui
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Update the dive list context menu to reflect new media interface 2018-09-15 07:20:55 -07:00
divelistview.h Cleanup: make DiveTripModel a global object 2018-09-01 07:48:43 -07:00
divelogexportdialog.cpp Optional anonymization upon export 2018-09-13 08:16:54 -07:00
divelogexportdialog.h
divelogexportdialog.ui Desktop UI: small layout correction export dialog 2018-09-16 08:07:33 -07:00
divelogimportdialog.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
diveplanner.cpp core/settings: change bestmixend to int, to allow qml to work 2018-09-11 17:25:00 -07:00
diveplanner.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
diveplanner.ui
diveshareexportdialog.cpp Revert "desktop-widgets: remove QSettings from desktop-widgets" 2018-08-29 03:09:10 -07:00
diveshareexportdialog.h
diveshareexportdialog.ui
downloadfromdivecomputer.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
downloadfromdivecomputer.h Desktop/remember DCs: move non-UI-specific code into the core layer 2018-09-23 11:49:30 -07:00
downloadfromdivecomputer.ui Desktop/remember DCs: avoid highlighted button 2018-09-23 11:49:30 -07:00
filterwidget.ui
findmovedimagesdialog.cpp
findmovedimagesdialog.h
findmovedimagesdialog.ui
groupedlineedit.cpp
groupedlineedit.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
kmessagewidget.cpp
kmessagewidget.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
listfilter.ui
locationinformation.cpp
locationinformation.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
locationInformation.ui
mainwindow.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
mainwindow.h Desktop: remove "edit dive" from log menu 2018-09-14 13:18:42 -07:00
mainwindow.ui Desktop: remove "edit dive" from log menu 2018-09-14 13:18:42 -07:00
mapwidget.cpp
mapwidget.h
modeldelegates.cpp modeldelegates: use font metrics for dive list row height 2018-08-26 23:06:00 -07:00
modeldelegates.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
notificationwidget.cpp
notificationwidget.h
plannerDetails.ui
plannerSettings.ui
printdialog.cpp
printdialog.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
printer.cpp core/tests: merge Animations and add vars. to qPrefDisplay 2018-08-25 11:49:47 -07:00
printer.h
printoptions.cpp
printoptions.h
printoptions.ui
qtwaitingspinner.cpp
qtwaitingspinner.h
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp Dive media: on import read metadata only once 2018-09-19 14:44:34 -07:00
simplewidgets.h Dive media: on import read metadata only once 2018-09-19 14:44:34 -07:00
starwidget.cpp Cleanup: remove parameter from currentDiveChanged signal 2018-07-30 12:20:26 -07:00
starwidget.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
subsurfacewebservices.cpp Core: split process_dives() in post-import and post-load versions 2018-09-23 11:50:53 -07:00
subsurfacewebservices.h Desktop: Remove webservice, remove UI components (2) 2018-09-09 18:28:08 -07:00
tableview.cpp
tableview.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
tableview.ui
tagwidget.cpp
tagwidget.h
templateedit.cpp
templateedit.h
templateedit.ui
templatelayout.cpp
templatelayout.h
undocommands.cpp
undocommands.h Cleanup: remove all override modifiers 2018-08-01 06:30:00 -07:00
updatemanager.cpp desktop-widget: remove SettingsObjectWrapper and update qPref calls 2018-08-15 16:11:39 -07:00
updatemanager.h
urldialog.ui
usermanual.cpp
usermanual.h
usersurvey.cpp Revert "desktop-widgets: remove QSettings from desktop-widgets" 2018-08-29 03:09:10 -07:00
usersurvey.h
usersurvey.ui
webservices.ui