subsurface/qt-ui
Dirk Hohndel 0a92052765 Fix yearly statistics
This commit fixes two issues. One is that there were situations where
the code would read an uninitialized parent pointer, the second was that
instead of the monthly statistics the tree view would show the yearly
statistics again under the yearly entries.

I assume that the second part of the fix (initializing the parent
pointers) actually takes care of both of them (that patch was suggested
by Tomaz), but the first part that just makes sure the pointer is at
least initialized to NULL seems to be at least not harmful, so I kept it
as well.

With this the yearly / monthly statistics seem to be pretty much at
feature parity.

Fixes: #115

Suggested-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-18 13:31:12 -07:00
..
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
divecomputermanagementdialog.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.h Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.ui Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divelistview.cpp Changed a lot of code to reduce boilerplate on models in the future. 2013-06-17 18:59:50 -03:00
divelistview.h Show & edit trip location and notes when exactly one trip is selected 2013-06-14 09:20:20 -07:00
downloadfromdivecomputer.cpp Properly initialize device_data_t when downloading 2013-06-16 21:17:35 -07:00
downloadfromdivecomputer.h Fixed running the Download dialog multiple times 2013-05-30 18:21:08 +09:00
downloadfromdivecomputer.ui Change title of dive download form 2013-06-12 07:27:58 -04:00
globe.cpp Fix compile: mixup of GeoDataCoordinates and GeoDataPoint 2013-06-07 22:06:46 -07:00
globe.h Get single click on the map widget in a callback for further processing 2013-06-05 14:44:12 +09:00
kmessagewidget.cpp Fixed the 'click in close doesn't close' on KMessageWidget. 2013-05-22 08:10:02 -03:00
kmessagewidget.h Compile fix 2013-05-17 22:27:50 -07:00
maintab.cpp Save / Restore the sizes of the columns in Cylinders / Weigth widgets 2013-06-16 14:36:23 -03:00
maintab.h Save / Restore the sizes of the columns in Cylinders / Weigth widgets 2013-06-16 14:36:23 -03:00
maintab.ui Removed the grid lines of the table views. 2013-06-16 13:53:56 -03:00
mainwindow.cpp Merge branch 'qtHelper' 2013-06-18 00:33:03 -07:00
mainwindow.h Fixed the show / hide dialog shortcuts to take the splitter into consideration 2013-06-12 15:54:55 -03:00
mainwindow.ui Merge branch 'linusDiveList' of https://github.com/tcanabrava/subsurface 2013-06-13 19:56:36 +02:00
modeldelegates.cpp Changed a lot of code to reduce boilerplate on models in the future. 2013-06-17 18:59:50 -03:00
modeldelegates.h Better handling of default sizes on the Cylinder and Weight widgets 2013-06-16 12:33:27 -03:00
models.cpp Fix yearly statistics 2013-06-18 13:31:12 -07:00
models.h Fix yearly statistics 2013-06-18 13:31:12 -07:00
plotareascene.cpp Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
plotareascene.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
preferences.cpp Explicitly store UI values to prefs 2013-06-04 06:29:33 +09:00
preferences.h Tie all the pieces together and make Preferences work as intended 2013-06-03 21:08:49 +09:00
preferences.ui Correctly implement Metric / Imperial / Personalize preference 2013-06-02 19:52:18 +09:00
profilegraphics.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
profilegraphics.h Plot cleanup 2013-06-14 14:34:44 +02:00
renumber.ui add forgotten file. 2013-06-17 13:54:50 -03:00
simplewidgets.cpp Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
simplewidgets.h Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
starwidget.cpp The never ending, futile fight for whitespace consistency 2013-05-22 21:31:45 -07:00
starwidget.h Added option to edit the selected dive. 2013-05-18 17:06:48 -07:00
subsurfacewebservices.cpp Fix webservice download dialog 2013-06-08 21:11:07 -07:00
subsurfacewebservices.h Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00
subsurfacewebservices.ui Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00