QWidget reappears after closing it
There is an issue with closing QWidget with Qt::ApplicationModal modality in Qt 5.2, Mac OS 10.10.
Here are the details: the widget is opened, then after some time it is closed via close() method, then another widget is opened and when there is user interaction with the second widget, the first one (ApplicationModal) reappears. This happens only when the main window of the application is closed and the application is running in background. I even tried to delete the widget, but it doesn't help, the widget blinks during user interaction with the second one.
How can the issue be resolved?
Thanks in advance.
Can you provide a minimal sample code that reproduces that behavior ?