<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 1:52 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Nov 03, 2015 at 05:49:35PM +0200, Lubomir I. Ivanov wrote:<br>
> to clarify - in which cpp file?<br>
<br>
</span>Ah.<br>
<span class=""><br>
> we don't need the default directory stored in the QSettings on Android<br>
> for now, so i was thinking of just adding it in the desktop<br>
> MainWindow() constructor.<br>
<br>
</span>We only need this on Windows... so why not do it in windows.c?<br>
<span class=""><br>
> QSettings s;<br>
> s.beginGroup("GeneralSettings");<br>
> s.setValue("default_directory", system_default_directory());<br>
> s.end();<br>
<br>
</span>Oh, of course, it needs to be done in a Qt/C++ file. So let's do it in<br>
qthelper.cpp but only call that function from windows.c<br></blockquote><div><br></div><div>please no - I'm trying to kill this file.<br></div><div>check if windows.c can be compiled as c++ and add it there?<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And let's not create a new group, let's reuse "General".<br>
<span class="HOEnZb"><font color="#888888"><br>
/D<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</div></div></blockquote></div><br></div></div>