Remove noop modification of QDialogPrivate::nativeDialogInUse

The modification was inside a nativeDialogInUse == false
condition already.

Task-number: QTBUG-108153
Change-Id: Ice5f48fc5d2548085b063060817e2c4eeaf00452
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Tor Arne Vestbø 2022-11-10 12:19:20 +01:00
parent d5f92c1fb8
commit fb0a96f185
1 changed files with 0 additions and 1 deletions

View File

@ -970,7 +970,6 @@ void QFontDialog::setVisible(bool visible)
// updates the state correctly, but skips showing the non-native version:
setAttribute(Qt::WA_DontShowOnScreen, true);
} else {
d->nativeDialogInUse = false;
setAttribute(Qt::WA_DontShowOnScreen, false);
}
QDialog::setVisible(visible);