[maemo-developers] QMainWindow crashes when it closes while the menu is visible

From: Antonio Aloisio antonio.aloisio at gmail.com
Date: Wed Feb 24 19:22:45 EET 2010
Hi ibrahim,
Are you using 4.5 or 4.6? Could you show us a backtrace?

Thanks,
Antonio

On Wed, Feb 24, 2010 at 7:10 PM, ibrahim <ibrahim.ali at asgatech.com> wrote:

> Greetings;
>
> I have a little bit strange crash that occurs in my Qt application. I have
> a QMainWindow Object that has a QMediaObject object inside it to play sound.
> When the sound player finishes, the QMainWindow sends a signal to its
> parent, so the parent can close it (programatically, by calling
> window->close(); and my QMainWindow is set to DeleteOnClose).
> Everything works fine with no problems at all. But when I view the menu in
> that window, and it closes (when sound player returns), the application
> crashes !!!!
> I don't know what is wrong with that issue. why does it crash when the menu
> is shown?
> and how to avoid that issue ?? is there's a way to detect the open menubar
> and close it programatically before  destroying the application ???
>
> any assistance is higly appreciated;
> thanks in advance;
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>



-- 

Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
"Sports is like a war without the killing."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100224/87e4cda6/attachment.htm>
More information about the maemo-developers mailing list