doggrant
27th October 2009, 16:15
Hi,
I have a pop-up menu which has an option to view a text file from an FTP server. When I click on this option, it calls a function which retrieves this file, then displays it. While I'm waiting for the FTP job to complete, I periodically call ProcessEvents(), to process events from the mail GUI thread.
Since upgrading from v4.3.1 to v4.5.3 of QT, I get the following ASSERT If I try to bring up the pop-up menu again, before the file has been retrieved from the server. Does anyone know why, and also how I can work around this?
ASSERT "!activationRecursionGuard" in file widgets\qmenu.cpp, line 961
cheers,
David
I have a pop-up menu which has an option to view a text file from an FTP server. When I click on this option, it calls a function which retrieves this file, then displays it. While I'm waiting for the FTP job to complete, I periodically call ProcessEvents(), to process events from the mail GUI thread.
Since upgrading from v4.3.1 to v4.5.3 of QT, I get the following ASSERT If I try to bring up the pop-up menu again, before the file has been retrieved from the server. Does anyone know why, and also how I can work around this?
ASSERT "!activationRecursionGuard" in file widgets\qmenu.cpp, line 961
cheers,
David