post 4.3 - git dialogs

Dirk Hohndel dirk at hohndel.org
Fri Nov 21 09:48:50 PST 2014


On Fri, Nov 21, 2014 at 09:30:17AM -0800, Dirk Hohndel wrote:
> 
> d) opening / saving to local git
[...]
>    loading is kinda hard right now. We use QFileDialog::getOpenFileName to
>    get the file to load from the user and that dialog only returns
>    existing files, so our syntax for entering the file name fails.
>    This would be nice to fix before 4.3 - I'm sure we could replace this
>    with a dialog that allows our syntax. All it then needs to do is figure
>    out if the file that was returned exists or if this is git syntax and
>    if neither, gracefully fail.

As Tomaz pointed out to me on IM, this is quite trivial to do. Simply use
the (rather unintuitive) getSaveFileName() dialog instead :-)

Patch pushed.

Willem, with that it should be much easier to test the git saving.

/D


More information about the subsurface mailing list