[Merkaartor] Still struggeling with gitorious / Also delay handling of startup message (fixes #2914)

Chris Browet cbro at semperpax.com
Wed May 26 12:20:35 BST 2010


I've succeeded in reproducing (it didn't happen for MDC, just for GPX)
My simpler fix does the trick, so I committed this one.

Thanks a lot for digging that out.

- Chris -

On Wed, May 26, 2010 at 02:36, Chris Browet <cbro at semperpax.com> wrote:

> Thanks for the tip. Somebody else reported such a problem but I couldn't
> reproduce.
>
> Could I ask you if just doing the hereunder would also solve your problem?
>
> - Chris -
>
> --- a/src/Main.cpp
> +++ b/src/Main.cpp
> @@ -220,8 +220,7 @@ int main(int argc, char** argv)
>  #endif
>      instance.processEvents();
>
>     MainWindow Main;
> +    instance.processEvents();
>     Main.handleMessage(message);
>
>
> On Wed, May 26, 2010 at 00:09, Daniel van Gerpen <dvg at jccnet.de> wrote:
>
>>
>> Merge request via old skool mail....
>>
>> Files specified on the command line are imported synchronously in
>> Main.cpp before the MainWindow comes up. Later, the delayed
>> initialization finishes by issuing a "new file" command. This deletes
>> all the files that have been imported.
>>
>> This patch fixes this by providing the MainWindow constructor with the
>> startup message and handling the message right after the "new file"
>> command.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20100526/f957dc53/attachment.html>


More information about the Merkaartor mailing list