subsurface/qt-ui/profile
Dirk Hohndel 4583cd8e09 Picture handling: cleaning up the mess
We had pointers to data structures on the stack which we frequently
reallocated. These data structure contain basically a filename and an
offset. We then create a hash of the pointers to those datastructures with
the filename being the key. And then we passed those pointers around
through a Qt model(!!!) only in order to then later look up by filename
what the offset might be.

I am at a loss for words for the lunacy behind this design.

How about we just remember the offsets and pass the integers around?

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-08-05 12:37:14 -07:00
..
animationfunctions.cpp Add a new 'show' Animation, and use it on the close button. 2014-07-30 14:15:09 -07:00
animationfunctions.h Add a new 'show' Animation, and use it on the close button. 2014-07-30 14:15:09 -07:00
divecartesianaxis.cpp Make the Axis set the changed flag when a new line is set 2014-07-29 15:33:00 -07:00
divecartesianaxis.h Make the Axis set the changed flag when a new line is set 2014-07-29 15:33:00 -07:00
diveeventitem.cpp Correct usage of current_dive to displayed_dive 2014-07-18 10:09:42 -07:00
diveeventitem.h New profile: fix event hiding logic 2014-03-16 15:11:35 -07:00
divelineitem.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divelineitem.h Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divepixmapitem.cpp Add a new 'show' Animation, and use it on the close button. 2014-07-30 14:15:09 -07:00
divepixmapitem.h Instead of holding the index, hold the URL. 2014-07-30 12:34:43 -07:00
diveplotdatamodel.cpp profile capitalisation 2014-07-11 10:44:41 -07:00
diveplotdatamodel.h Add missing struct keyword in DivePlotDataModel 2014-07-17 00:04:24 -07:00
diveprofileitem.cpp Code cleanup: HeartRate item was doing insane things 2014-07-23 07:51:22 -07:00
diveprofileitem.h Code cleanup: HeartRate item was doing insane things 2014-07-23 07:51:22 -07:00
diverectitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diverectitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divetextitem.h Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divetooltipitem.cpp Do not create a backup for Q_FOREACH container 2014-07-15 16:55:10 -07:00
divetooltipitem.h Fixe movement of DiveHandlers when moving the NotificationArea 2014-05-24 07:30:36 -07:00
profilewidget2.cpp Picture handling: cleaning up the mess 2014-08-05 12:37:14 -07:00
profilewidget2.h Printing: scale fonts when printing 2014-07-09 13:12:29 -07:00
ruleritem.cpp Simplify ruler update code. 2014-06-01 15:42:32 -07:00
ruleritem.h Simplify ruler update code. 2014-06-01 15:42:32 -07:00