subsurface/qt-ui/profile
Tomaz Canabrava ecf4d18b41 Fix extreme sluggish profile over time
Whoa, this deserves a good explanation.

Everytime that the mouse moved in add / plan mode, or anytime a new dive
was displayed on the profile, this method would be called and connect the
dataModel to the modelChanged method. This added the slot in a call-vector
that the fired signal would call, adding one call to the Slot per add /
plan mouse move (about 20x/s) or each time a new dive was displayed.
Quickly filling the vector with more than 200 - 300 calls to this same
Slot.

The fix is to only connect one time. this made the add / plan mode *so*
much smoother... :)

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-19 16:25:13 +12:00
..
animationfunctions.cpp Clean up the header files 2015-01-18 21:25:59 +12: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 Clean up the header files 2015-01-18 21:25:59 +12: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 Clean up the header files 2015-01-18 21:25:59 +12:00
diveeventitem.h Fix memleak on Pixmap cache 2014-11-14 13:45:54 -08:00
divelineitem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divelineitem.h Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divepixmapitem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divepixmapitem.h Fix memleak of QGraphicsRectItem 2015-01-17 10:41:07 +13:00
diveplotdatamodel.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
diveplotdatamodel.h Display CCR setpoint values on the po2 graph 2015-01-05 09:18:06 -08:00
diveprofileitem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
diveprofileitem.h Remove instantMeanDepthLine 2015-01-14 12:24:57 +13: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 Clean up the header files 2015-01-18 21:25:59 +12:00
divetextitem.h Fix the colors - brush wasn't being set anymore. 2015-01-17 08:54:00 +13:00
divetooltipitem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divetooltipitem.h Reduce the refresh rate of the toolTipItem to 25fps. 2015-01-17 08:07:14 +13:00
profilewidget2.cpp Fix build: add missing #includes 2015-01-18 21:26:53 +12:00
profilewidget2.h Remove instantMeanDepthLine 2015-01-14 12:24:57 +13:00
ruleritem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
ruleritem.h Simplify ruler update code. 2014-06-01 15:42:32 -07:00
tankitem.cpp Fix extreme sluggish profile over time 2015-01-19 16:25:13 +12:00
tankitem.h Give oxygen a proper colour in the tankbar 2015-01-05 13:30:47 -08:00