You most likely posted the answer in your first line.
Is your system working correctly?
Do you mean that the mainwindow remains the parent of the input dialog? Then yes, that's by design and how you wrote your code.Qt Code:
bool ok; if( ok && !pwd.isEmpty() ) { ... }To copy to clipboard, switch view to plain text mode
QApplication::focusWidget() remains parent of QInputDialog (guess it by logging) - is it common behavior?
Bookmarks