subsurface/desktop-widgets
Berthold Stoeger d21d42b691 Cleanup: remove three instances of deleteLater() in mainwindow.cpp
deleteLater() can be dangerous. Remove where not necessary.

Analysis:

1) `helpView` was a pointer which was initialized on demand. close() and
deleteLater() were called on closure of the main window. Firstly, there's
no point in calling deleteLater(), because no references to helpView
are used later on. Secondly, the deletion (and closing) can be done
automatically in the destructor, by passing `this` as parent object.

2) `survey`: pretty much the same situation. But here, `this` was already
passed as parent object.

3) `progressDialog` is a global (not thread safe!) pointer. The object
is deleted after use. There is no point in using deleteLater(), because
the callers are not active after hideProgressBar(), which is the
place were the deleteLater() call was found.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-05-26 09:21:46 -07:00
..
css
plugins desktop-widgets/.../facebook: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
preferences Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
statistics desktop-widgets/statistics: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
tab-widgets Dive pictures: change removePicture() interface 2018-05-21 22:17:28 +03:00
about.cpp Get ready for 2018 2017-12-30 08:23:22 -08:00
about.h
about.ui
btdeviceselectiondialog.cpp Cleanup: Use QString as parameter for [get|save]BtDeviceInfo() 2018-02-26 08:52:34 +01:00
btdeviceselectiondialog.h
btdeviceselectiondialog.ui
CMakeLists.txt
configuredivecomputerdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
configuredivecomputerdialog.h
configuredivecomputerdialog.ui Configure ostc3: Remove obsoleted setting 2018-04-27 21:33:47 +03:00
divecomponentselection.ui
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Cleanup: Don't defer deletion of oldModel in DiveListView::reload() 2018-05-25 14:15:42 +03:00
divelistview.h
divelogexportdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
divelogexportdialog.h
divelogexportdialog.ui
divelogimportdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h
diveplanner.cpp Planner: Add combo box for dive mode selection 2018-05-14 23:47:00 +03:00
diveplanner.h Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
diveplanner.ui Choose water presets from a qcombobox in planner, custom value possible 2018-03-02 08:38:22 -08:00
diveshareexportdialog.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
diveshareexportdialog.h
diveshareexportdialog.ui
downloadfromdivecomputer.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
filterwidget.ui
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
kmessagewidget.h
listfilter.ui
locationinformation.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
locationinformation.h
locationInformation.ui Use correct alias for satellite icon for revers geo lookup 2018-01-27 12:29:00 -08:00
mainwindow.cpp Cleanup: remove three instances of deleteLater() in mainwindow.cpp 2018-05-26 09:21:46 -07:00
mainwindow.h Desktop: On dive edit from the dive list or map, switch to new state 2018-05-13 07:08:34 -07:00
mainwindow.ui Turn take-cloud-online menu action into checkbox 2018-01-06 10:46:07 -08:00
mapwidget.cpp Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
mapwidget.h
modeldelegates.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
modeldelegates.h Planner: Add combo box for dive mode selection 2018-05-14 23:47:00 +03:00
notificationwidget.cpp Use queued connection to thread-safe MainWindow error handling 2018-01-31 14:47:26 +01:00
notificationwidget.h Use queued connection to thread-safe MainWindow error handling 2018-01-31 14:47:26 +01:00
plannerDetails.ui Bring back style sheet HTML for planner output 2017-02-24 01:06:09 -08:00
plannerSettings.ui
printdialog.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
printdialog.h
printer.cpp Dive pictures: Don't plot pictures twice when changing current dive 2018-05-17 07:24:54 -07:00
printer.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
printoptions.cpp Fix typo connot > cannot. 2017-11-28 11:36:19 +02:00
printoptions.h
printoptions.ui
qtwaitingspinner.cpp
qtwaitingspinner.h
renumber.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
searchbar.ui
setpoint.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
simplewidgets.h
starwidget.cpp desktop-widgets: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
starwidget.h
subsurfacewebservices.cpp desktop-widgets: replace (void) with no parameter name 2018-05-24 08:34:14 -07:00
subsurfacewebservices.h
tableview.cpp
tableview.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
tableview.ui
tagwidget.cpp
tagwidget.h
templateedit.cpp Fix includes for building against Qt-5.11.0 2018-05-23 13:29:37 +03:00
templateedit.h
templateedit.ui templateedit.ui: give the layout for "Border width" unique name 2017-03-12 09:19:03 -07:00
templatelayout.cpp Cleanup: consistently use qPrintable() 2018-03-14 13:55:36 +02:00
templatelayout.h Use temperature_t for temperatures in struct stats_t 2018-02-24 11:45:17 -08:00
undocommands.cpp Core: introduce new subsurface-string header 2018-05-14 10:13:39 -07:00
undocommands.h Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
updatemanager.cpp
updatemanager.h
urldialog.ui
usermanual.cpp
usermanual.h
usersurvey.cpp Use icons relative path. 2017-11-30 23:14:46 -08:00
usersurvey.h
usersurvey.ui
webservices.ui