subsurface/desktop-widgets
Dirk Hohndel 7b5381b6de desktop: make time shift dialog show correct times
This got broken in commit 7417f865cd ("cleanup: un-singletonize
ShiftTimesDialog") and no one ever noticed.

We need to intitialize the when variable and set up the initial texts in
order for the time shift dialog to show the correct information. Doing
this in the ButtonClicked member (right before the dialog is destroyed)
makes absolutely no sense.

Fixes #3535

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2022-10-19 13:29:29 -07:00
..
css
preferences Map Short Names - add preference setting 2022-08-21 18:53:35 -07:00
qml
statistics cleanup: remove empty files in desktop-widgets/statistics 2020-09-12 08:36:10 -07:00
tab-widgets Merge remote-tracking branch 'origin/bstoeger-divesites' 2022-09-23 08:02:54 -07:00
about.cpp cleanup: don't add QKeySequence values 2022-03-12 08:28:32 -08:00
about.h cleanup: fix deprecated QFlags use 2020-10-26 19:27:03 -07:00
about.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
addfilterpreset.ui filter: create a primitive "create filter preset" dialog 2020-09-29 16:13:03 -07:00
btdeviceselectiondialog.cpp Qt6: Bluetooth API changes 2022-03-12 08:28:32 -08:00
btdeviceselectiondialog.h cleanup: remove QPointer instances 2020-12-17 13:03:56 -08:00
btdeviceselectiondialog.ui Desktop: add checkbox to show all BT devices 2019-02-14 09:05:58 -08:00
CMakeLists.txt desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
configuredivecomputerdialog.cpp core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
configuredivecomputerdialog.h cleanup: use safe connect() in ConfigureDiveComputerDialog 2020-10-06 10:38:45 -07:00
configuredivecomputerdialog.ui configure-dc: Add support for ostc3 Auto SP mode 2022-03-28 13:46:37 -07:00
divecomponentselection.ui core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
divelistview.cpp cleanup: extend MAP_SUPPORT block 2022-08-28 13:34:13 -07:00
divelistview.h cleanup: mark DiveListView::selectionChanged() as overridden 2022-08-28 13:34:13 -07:00
divelogexportdialog.cpp cleanup: fix incorrect QFuture return value 2022-03-12 08:28:32 -08:00
divelogexportdialog.h desktop-widgets: move export functions to shared class 2019-12-03 21:30:39 -08:00
divelogexportdialog.ui Reorganise and reword divelog export panel 2020-04-18 12:08:48 -07:00
divelogimportdialog.cpp Qt6: add required QFile header 2022-03-12 08:28:32 -08:00
divelogimportdialog.h parser: replace params[] code by new xml_params struct 2020-10-23 18:17:02 -07:00
divelogimportdialog.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
divepicturewidget.cpp cleanup: remove unnecessary includes from divepicturewidget.cpp 2020-12-03 10:32:20 -08:00
divepicturewidget.h Cleanup: remove DivePictureThumbnailThread 2020-05-06 13:58:09 -07:00
diveplanner.cpp Allow editing sensors through equipment tab 2022-03-12 11:24:50 -08:00
diveplanner.h profile: move DiveHandler to profile-widget folder 2020-12-12 15:52:40 -08:00
diveplanner.ui Choose water presets from a qcombobox in planner, custom value possible 2018-03-02 08:38:22 -08:00
diveshareexportdialog.cpp Qt6: move connection into C++ source 2022-03-12 08:28:32 -08:00
diveshareexportdialog.h desktop-widgets: diveDiveShareExportDialog add signal handling 2019-12-11 11:08:51 -05:00
diveshareexportdialog.ui Qt6: move connection into C++ source 2022-03-12 08:28:32 -08:00
divesiteimportdialog.cpp core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
divesiteimportdialog.h Create DivesiteImportDialog to select sites to import 2019-05-06 10:48:44 +02:00
divesiteimportdialog.ui Create DivesiteImportDialog to select sites to import 2019-05-06 10:48:44 +02:00
divesitelistview.cpp desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
divesitelistview.h desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
divesitelistview.ui desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
downloadfromdivecomputer.cpp core: move floating point functions to own header file 2022-08-30 22:34:38 +02:00
downloadfromdivecomputer.h Qt6: if we want the QString argument we need the TextChanged slot 2022-03-12 08:28:32 -08:00
downloadfromdivecomputer.ui Desktop/remember DCs: avoid highlighted button 2018-09-23 11:49:30 -07:00
filterconstraintwidget.cpp cleanup: Fix a Coverity warning 2022-02-15 09:30:43 -08:00
filterconstraintwidget.h
filterwidget.cpp
filterwidget.h
filterwidget.ui
findmovedimagesdialog.cpp
findmovedimagesdialog.h
findmovedimagesdialog.ui
groupedlineedit.cpp Qt6: add include files to keep QVectorIterator working 2022-03-12 08:28:32 -08:00
groupedlineedit.h
importgps.cpp
importgps.h
importgps.ui
kmessagewidget.cpp cleanup: prevent distracing conversion warnings 2022-03-12 08:28:32 -08:00
kmessagewidget.h
listfilter.ui
locationinformation.cpp desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
locationinformation.h desktop: make DiveLocationModel entries "editable" 2022-08-22 09:20:45 -07:00
locationinformation.ui
mainwindow.cpp desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
mainwindow.h desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
mainwindow.ui desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
mapwidget.cpp map: don't explicitly reload the map from the mainwindow 2022-09-15 12:16:32 -07:00
mapwidget.h
modeldelegates.cpp cleanup: remove isGnome3Session function 2022-09-23 15:40:09 +02:00
modeldelegates.h Use combo box for moving sensor data 2022-09-03 13:38:34 -07:00
notificationwidget.cpp cleanup: fix incorrect QFuture return value 2022-03-12 08:28:32 -08:00
notificationwidget.h cleanup: fix incorrect QFuture return value 2022-03-12 08:28:32 -08:00
plannerDetails.ui
plannerSettings.ui
printdialog.cpp
printdialog.h
printer.cpp profile: merge plotDive() into draw() call 2021-12-17 11:54:23 -08:00
printer.h profile: for printing/mobile access ProfileScene directly 2021-12-17 11:54:23 -08:00
printoptions.cpp
printoptions.h
printoptions.ui
profilewidget.cpp profile: mute a Coverity warning 2022-03-13 14:58:30 -07:00
profilewidget.h profile: automatically enter edit mode 2022-03-12 18:33:34 +01:00
profilewidget.ui profile: remove profile widget code from mainwindow 2021-12-17 11:54:23 -08:00
qtwaitingspinner.cpp cleanup: prevent distracing conversion warnings 2022-03-12 08:28:32 -08:00
qtwaitingspinner.h
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui desktop/image-time-shift: reorder UI 2021-09-22 09:09:12 -07:00
shifttimes.ui cleanup: remove duplicate connections in .ui files 2022-03-12 08:28:32 -08:00
simplewidgets.cpp desktop: make time shift dialog show correct times 2022-10-19 13:29:29 -07:00
simplewidgets.h cleanup: remove isGnome3Session function 2022-09-23 15:40:09 +02:00
starwidget.cpp
starwidget.h
statswidget.cpp Qt6: prevent QML object from being garbage collected 2022-03-12 08:28:32 -08:00
statswidget.h Qt6: prevent QML object from being garbage collected 2022-03-12 08:28:32 -08:00
statswidget.ui statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
subsurfacewebservices.cpp Qt6: update the connect calls for QNetworkReply 2022-04-18 07:24:39 +02:00
subsurfacewebservices.h Qt6: update the connect calls for QNetworkReply 2022-04-18 07:24:39 +02:00
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp desktop: let tag-widget completion popup accept composition events 2022-08-13 11:19:37 -07:00
tagwidget.h desktop: improve composition on TagWidgets 2022-08-13 11:19:37 -07:00
templateedit.cpp
templateedit.h
templateedit.ui
templatelayout.cpp cleanup: move minute formating to format-string.cpp 2022-09-03 13:49:02 -07:00
templatelayout.h
textedit.cpp
textedit.h
tripselectiondialog.cpp cleanup: don't add QKeySequence values 2022-03-12 08:28:32 -08:00
tripselectiondialog.h
tripselectiondialog.ui
updatemanager.cpp
updatemanager.h
urldialog.ui Allow more than one media file when importing from the web 2022-04-01 08:28:05 -07:00
usermanual.cpp
usermanual.h
webservices.ui