On Thu, Apr 10, 2014 at 2:19 PM, Dirk Hohndel <d...@hohndel.org> wrote:
> 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... > Usual, QSettings is terrible. > > /D > > > _______________________________________________ > subsurface mailing list > subsurface@hohndel.org > http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface >
_______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface