>
> ok, I could reproduce this after adding sleep(4) right before
> splash->show() in main.cpp. So the file open event is posted while there
> is no main window yet but only the splash screen.
>
> A simple workaround is attached. Maybe someone with better Qt knowledge
> has a better solution.

Hm, scheduling a timer event to retry after 1 second. Probably the best 
solution for that problem. I am just a bit amazed that the timer system 
is already up and running at that point. Maybe this might be another 
race condition in the future. But as I do not have a better idea I would 
give it a try.

The patch is in SVN and I made a few fixes to make the code compliant to 
the purely virtual (reads "not written") coding guidelines.

BTW how does MacPorts add/replace to the OSX binaries on sf.net? I just 
got the feeling that some work is done twice, now. Should I add some 
notes to the RELEASE file? And what about a few lines on the wiki? 
Suggestions?

Oliver

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to