[PATCH] Unexpected Behaviour in preference window.

Tomaz Canabrava tcanabrava at kde.org
Thu Apr 10 10:27:39 PDT 2014


On Thu, Apr 10, 2014 at 2:19 PM, Dirk Hohndel <dirk at 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 at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140410/95a9c3b4/attachment.html>


More information about the subsurface mailing list