diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-11-10 12:19:20 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-11-11 17:48:50 +0100 |
commit | fb0a96f185464b39a7d4976f45751b98f395cc99 (patch) | |
tree | f66c11b1226b97c8bd2e1fe0d14adc5b0c458099 /src/widgets/dialogs | |
parent | d5f92c1fb899d09b4338cded05de264d4fb1cd66 (diff) |
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>
Diffstat (limited to 'src/widgets/dialogs')
-rw-r--r-- | src/widgets/dialogs/qfontdialog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qfontdialog.cpp b/src/widgets/dialogs/qfontdialog.cpp index af12157065..8792e18d6f 100644 --- a/src/widgets/dialogs/qfontdialog.cpp +++ b/src/widgets/dialogs/qfontdialog.cpp @@ -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); |