subsurface/qt-ui
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
..
css
marble
profile Fix extreme sluggish profile over time 2015-01-19 16:25:13 +12:00
statistics
about.cpp
about.h
about.ui
completionmodels.cpp
completionmodels.h
configuredivecomputerdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
configuredivecomputerdialog.h
configuredivecomputerdialog.ui
divecomponentselection.ui
divecomputermanagementdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divelistview.h
divelogexportdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divelogexportdialog.h
divelogexportdialog.ui
divelogimportdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divepicturewidget.h
diveplanner.cpp Only update the "add dive profile / plan dive" 20x/s 2015-01-19 16:22:08 +12:00
diveplanner.h Only update the "add dive profile / plan dive" 20x/s 2015-01-19 16:22:08 +12:00
diveplanner.ui
diveshareexportdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
diveshareexportdialog.h
diveshareexportdialog.ui
downloadfromdivecomputer.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
filtermodels.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
filtermodels.h
filterwidget.ui
globe.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
globe.h
graphicsview-common.cpp
graphicsview-common.h
groupedlineedit.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
groupedlineedit.h
kmessagewidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
kmessagewidget.h
listfilter.ui
maintab.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
maintab.h
maintab.ui
mainwindow.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
mainwindow.h
mainwindow.ui
metrics.cpp
metrics.h
modeldelegates.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
modeldelegates.h
models.cpp Minor PSCR fixes 2015-01-17 08:17:29 +13:00
models.h
plannerSettings.ui
preferences.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
preferences.h Ignore QWebView in Android 2015-01-14 07:49:24 +13:00
preferences.ui Ignore QWebView in Android 2015-01-14 07:49:24 +13:00
printdialog.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
printdialog.h
printlayout.cpp Fix build: add missing #includes 2015-01-18 21:26:53 +12:00
printlayout.h
printoptions.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
printoptions.h
printoptions.ui
renumber.ui
searchbar.ui
setpoint.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
simplewidgets.h
socialnetworks.cpp
socialnetworks.h
socialnetworksdialog.ui
starwidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
starwidget.h
subsurfacewebservices.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
subsurfacewebservices.h
tableview.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
tableview.h
tableview.ui
tagwidget.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
tagwidget.h
updatemanager.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
updatemanager.h
usermanual.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
usermanual.h
usersurvey.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
usersurvey.h
usersurvey.ui
webservices.ui