You cannot reproduce it on Windows because the about() dialog is application modal on Windows: it blocks all input to the parent application while the dialog is active. You can do it on Android because the about() dialog is not modal: it does not block the parent application input so you can click the button multiple times and get multiple non-modal dialogs. I suspect the docs have not kept up with the expanded mobile platform support.Secondly, using the same code I am not able to reproduce the issue on Windows, I m not sure why.
To convince yourself of the serial nature of the slot executions in the single UI thread of execution can I suggest:
You will see an "Out" for the each "In" before you see another "In" (and before you click OK on the dialog I expect)... even when you click furiously.Qt Code:
void class::slot() { qDebug() << "In :" << Q_FUNC_INFO; // show non-modal dialog qDebug() << "Out:" << Q_FUNC_INFO; }To copy to clipboard, switch view to plain text mode
Bookmarks