Don't replot every time a pref changes, regardless of what preferences.

The list of preferences that should trigger a full repaint are at the top
of this method, *if* this introduces a bug it is because some of the
preferences are not being correctly triaged yet and that needs to be
fixed.  Regardless of that, now the profile will only enable / disable
the *ruler* instead of replotting everything.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-05-21 13:00:16 -03:00 committed by Dirk Hohndel
parent 1988da779f
commit 3c7a6ab750

View file

@ -501,7 +501,6 @@ void ProfileWidget2::settingsChanged()
if (currentState == PROFILE) {
rulerItem->setVisible(prefs.rulergraph);
needReplot = true;
} else {
rulerItem->setVisible(false);
}