[PATCH] Unexpected Behaviour in preference window.
dirk at hohndel.org
Thu Apr 10 10:19:51 PDT 2014
On Tue, 2014-04-08 at 14:11 +0200, Gehad wrote:
> On 04/07/2014 10:22 PM, Dirk Hohndel wrote:
> > I'd really like to have a prefs variable that tracks the currently
> > active prefs and only reference that anywhere in the code. The only
> > place that should mess with s.value should be preferences.cpp
> And when will the prefs be synchronized with the QSettings ?
> I found that some QSettings are changed in the middle of the code not
> only from preference window or at startup.
instead of the writing of QSettings all over the place I'd rather do
this only in one space and have accessor functions that do the right
thing. Maybe I'm overthinking this, but whenever I try to figure out
something that's going wrong with preferences my eyes glaze over...
More information about the subsurface