subsurface/qt-ui
Dirk Hohndel c29109744e Dive list: don't reset column width when reloading
We set the column width in the dive list widget when we create that
widget, based on what is in the settings. And we save the current column
width back to the settings when we destroy that widget (so if Subsurface
is shut down correctly and Qt actually gets to run the destructor but not
when someone kills the program).

That means that if we recreate the dive list at any point while Subsurface
is running (and we do that a lot when you manipulate your dive list in any
way shape or form), any changes to the column widths are lost.
DiveListView::reload() explicitly calls setupUi() which reads the column
widths back from the settings - but changes made to the columns aren't
saved to the settings until we destroy the widget...

I see no reason why reload() should call setupUi(), so I'm removing that
call. Let's hope this doesn't break anything else.

Fixes #518

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-05-25 07:03:38 -07:00
..
css Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
marble Resync included header with upstream 2014-01-15 15:49:50 +07:00
profile Reenables the air edition and deletion of handlers on the planner/add 2014-05-24 21:11:30 -07:00
about.cpp Quit Subsurface with about window in front 2014-04-25 10:21:55 -07:00
about.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
about.ui SubsurfaceAbout class cleanup. 2014-02-08 08:00:27 -08:00
completionmodels.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
completionmodels.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divecomputermanagementdialog.cpp Fixing Hotkeys inconsistency for divecomputer/pref/numbering windows 2014-04-25 13:24:39 -07:00
divecomputermanagementdialog.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divecomputermanagementdialog.ui Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
divelistview.cpp Dive list: don't reset column width when reloading 2014-05-25 07:03:38 -07:00
divelistview.h Speed up the multi dive selection 2014-05-24 21:09:11 -07:00
divelogexportdialog.cpp Add Subsurface XML export to Export dialog 2014-05-24 07:12:03 -07:00
divelogexportdialog.h Rework the Export dialog 2014-05-24 06:42:10 -07:00
divelogexportdialog.ui Rename the export dialog 2014-05-24 15:06:44 -07:00
divelogimportdialog.cpp Ctrl-W and -Q support for GPS, divelogs.de, divecomputer and CVS import 2014-04-25 10:47:44 -07:00
divelogimportdialog.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
divelogimportdialog.ui Tune CVS import dialog 2014-02-27 11:44:59 -08:00
diveplanner.cpp Move mod calculations to a separate helper 2014-05-25 06:20:52 -07:00
diveplanner.h Remove leftovers from the planner. 2014-05-24 21:11:55 -07:00
diveplanner.ui Improvement for various bits of the planner 2014-04-17 07:29:44 -07:00
downloadfromdivecomputer.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
downloadfromdivecomputer.h Divecomputer download: try to offer only those devices that make sense 2014-05-19 20:12:55 +09:00
downloadfromdivecomputer.ui Enable libdivecomputer log or dump from the UI 2013-12-24 16:26:00 -08:00
exif.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
exif.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
globe.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
globe.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
graphicsview-common.cpp Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
graphicsview-common.h Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
groupedlineedit.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
groupedlineedit.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
kmessagewidget.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
kmessagewidget.h Another small tweak to whitespace tool 2014-03-05 13:02:23 -08:00
maintab.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
maintab.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
maintab.ui Expand tags approach to divemaster field 2014-01-19 13:57:40 -08:00
mainwindow.cpp Remove leftovers from the planner. 2014-05-24 21:11:55 -07:00
mainwindow.h Remove leftovers from the planner. 2014-05-24 21:11:55 -07:00
mainwindow.ui Remove leftovers from the planner. 2014-05-24 21:11:55 -07:00
modeldelegates.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
modeldelegates.h Better handling of mouse on the delegates ( Equipment Edition ) 2014-04-25 07:19:18 -07:00
models.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
models.h Move DiveList related methods/classes to own file. 2014-05-13 09:20:28 +09:00
preferences.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
preferences.h Remove some unneeded explicit paths in includes 2014-04-11 07:21:21 -07:00
preferences.ui Add option to save userid in data files 2014-04-14 09:40:30 -07:00
printdialog.cpp Print dialog: make Ctrl-Q and Ctlr-W work 2014-04-25 10:27:44 -07:00
printdialog.h Remove printing when building for Android 2014-03-27 10:42:07 -07:00
printlayout.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
printlayout.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
printoptions.cpp Print: adjustments to PrintDialog 2013-11-30 18:56:25 +02:00
printoptions.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
printoptions.ui UI adjustments in Print Dialog Window 2014-04-16 12:17:49 -07:00
renumber.ui Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
shiftimagetimes.ui Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
shifttimes.ui Add current time and adjusted time to gui when adjusting dive's timestamp 2014-03-21 21:26:09 -07:00
simplewidgets.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
simplewidgets.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
starwidget.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
starwidget.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
subsurfacewebservices.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
subsurfacewebservices.h Implementing export dialog 2014-05-21 03:31:43 +09:00
tableview.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
tableview.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
tableview.ui Remove more unused windowTitle properties 2013-11-29 11:02:15 -08:00
tagwidget.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
tagwidget.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
updatemanager.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
updatemanager.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
usermanual.cpp Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
usermanual.h Gratuitous whitespace changes 2014-05-22 11:40:22 -07:00
usermanual.ui Close search panel by button click 2014-02-10 07:12:35 -08:00
webservices.ui Add option to save userid in data files 2014-04-14 09:40:30 -07:00