<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 1:46 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:41:59PM +0200, Lubomir I. Ivanov wrote:<br>
> On 3 November 2015 at 17:24, Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
> > On Tue, Nov 03, 2015 at 02:47:23PM +0000, John Smith wrote:<br>
> >> ><br>
> >> >  but the user folder can<br>
> >> > contain the default dive log file and any modified printing templates,<br>
> >> > which if lost will make the user mildly annoyed.<br>
> >> ><br>
> >> > if voted upon, i can send a patch.<br>
> >><br>
> >> I realise that, but if you recall you suggested having tick boxes allowing a basic uninstall or various higher levels.<br>
> ><br>
> > Yes, that was the conclusion and that's why I asked to delay this until<br>
> > after 4.5 was out.<br>
> ><br>
> > I was thinking we should offer something like this:<br>
> ><br>
> > - basic uninstall: remove the installed binaries, don't touch anything else<br>
> > - uninstall and clear registry (with apropriate warning)<br>
> > - uninstall, clear registry, remove Subsurface data forlders (with warning<br>
> >   that this could be removing the user's data file)<br>
> ><br>
> > This could be done with check boxes in the uninstaller. At least for the<br>
> > third one I'd prefer if we had an additional confirmation dialog.<br>
> ><br>
> > Does this sound reasonable, Lubomir?<br>
> ><br>
><br>
> already on it,<br>
> but i need to store the system_default_directory() in the QSettings()<br>
> "GeneralSettings" (registry on Win32) on startup.<br>
> any suggestions in which file should i do that?<br>
<br>
</span>You mean in which section? That sounds like "General".<br>
Or am I misunderstanding your question?<br></blockquote><div><br></div><div>User Visible Preferences:<br></div><div>in the correct preference pane, under desktop-widgets/preferences/*<br><br></div><div>User Invisible Preferences: ( the ones we set automatically and the user have no way to set it by hand ): whenever you like, but I strongly point to preferencesWidget.h/cpp for that since there's one method there that takes care of filling this.<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>