In August I posted a problem with slots crashing if they took too long to return:
http://www.qtcentre.org/forum/f-qt-p...lot-15547.html
I took Wysota's suggestion and posted an event for my expensive operation, and this worked around the problem.
But in other slots signaled by QHTTP RequestComplete, I am popping up a messagebox to the user letting them know that their download is complete. If they don't click this messagebox within about 30 seconds or so, the program crashes (the cause being identical to the aforementioned problem)
1) Am I not supposed to popup messageboxes in slots?
2) If it's OK to do this, are there certain types of slots where blocking behavior is unacceptable? Is the structure of my code just wrong? Should I be posting events any time I want to pop up a messagebox?
I am really confused here...
Bookmarks