[Qt-interest] ASSERT: "!activationRecursionGuard"
Eric Clark
eclark at ara.com
Tue Feb 23 21:49:40 CET 2010
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Gilberto Cuba Ricardo
> Sent: Tuesday, February 23, 2010 2:39 PM
> To: QT Mailing LIST
> Subject: [Qt-interest] ASSERT: "!activationRecursionGuard"
>
> Hola QT Mailing LIST,
>
> I'm a new Qt's user and I'm programming a Qt application that is
> a system tray icon with a contextual menu.
> The contextual menu have more options and the most options don't
> raise the windows, but i try to add a new option that raise a
> windows. All this work fine.
> My problem is that when i click the option that raise a windows,
> this work fine and i don't close this windows, but when i try to
> execute another option this assert is raised:
>
> ---------------------
> Qt error in systray application
>
> Program: ...
> Module: 4.5.0
> File: global\qglobal.cpp
> Line: 1994
>
> ASSERT: "!activationRecursionGuard" in file widgets\qmenu.cpp,
> line 959
> ---------------------
>
> Any suggestion for stop this assert or other pointers?
Looks like you are recursively calling activate on your menu. We could probably be of more help if you could post a code sample?
Eric
>
> --
> Thanks,
> Gilbert
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list