QSettings weirdness

Tomaz Canabrava tcanabrava at kde.org
Sat Aug 23 15:57:25 PDT 2014


All those static classes. If we remove them we have a better control of
that.

This can be a good exercice for a cleaner code.
Em 23/08/2014 17:14, "Dirk Hohndel" <dirk at hohndel.org> escreveu:

> On August 23, 2014 12:41:26 PM Thiago Macieira <thiago at macieira.org>
> wrote:
>
>  On Saturday 23 August 2014 11:38:21 Dirk Hohndel wrote:
>> > But if I look in ~/.config/Subsurface/Subsurface.conf there are a ton
>> of
>> > settings in there...
>>
>> Depends on where in the application you put that. At the end of that
>> block,
>> when I tried here, the file *is* empty.
>>
>> But the application continues to run and re-adds stuff there.
>>
>
> I did it in main() and the return 0 afterwards should end the program.
>
> My guess is it's some destructors that still run after that...
>
> /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/20140823/8ef2290a/attachment.html>


More information about the subsurface mailing list