Improve on location auto-gps editing

Linus Torvalds torvalds at linux-foundation.org
Mon Nov 11 14:28:33 UTC 2013


On Nov 12, 2013 6:58 AM, "Michael Andreen" <harv at ruin.nu> wrote:
>
> No, the modified state is only used to determine if the user has manually
> edited the field, so we don't overwrite it. Qt sets it to true when the
user
> edits it and resets it to false when it's reset with setText().
>
> The background color is independent.

OK, then I very much agree with your patch. Except it would be better with
a helper function and only doing the logic in one place.

To bad the insane C++ syntax doesn't seem to allow for easy static
undeclared member functions. I still don't understand that thing...

     Linus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131112/7d7f17f4/attachment.html>


More information about the subsurface mailing list