On Tue, Nov 3, 2015 at 1:52 PM, Dirk Hohndel <d...@hohndel.org> wrote:

> On Tue, Nov 03, 2015 at 05:49:35PM +0200, Lubomir I. Ivanov wrote:
> > to clarify - in which cpp file?
>
> Ah.
>
> > we don't need the default directory stored in the QSettings on Android
> > for now, so i was thinking of just adding it in the desktop
> > MainWindow() constructor.
>
> We only need this on Windows... so why not do it in windows.c?
>
> > QSettings s;
> > s.beginGroup("GeneralSettings");
> > s.setValue("default_directory", system_default_directory());
> > s.end();
>
> Oh, of course, it needs to be done in a Qt/C++ file. So let's do it in
> qthelper.cpp but only call that function from windows.c
>

please no - I'm trying to kill this file.
check if windows.c can be compiled as c++ and add it there?


>
> And let's not create a new group, let's reuse "General".
>
> /D
> _______________________________________________
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to