diff options
author | Andy Shaw <andy.shaw@nokia.com> | 2010-07-08 13:27:14 (GMT) |
---|---|---|
committer | Andy Shaw <andy.shaw@nokia.com> | 2010-07-08 13:35:34 (GMT) |
commit | c48eb6d5d0a299449330dea8a6a59514942c8781 (patch) | |
tree | 5acda17ad6928b6eacbdd073d01750f876ce230f /src/gui/dialogs | |
parent | f28a27987fa4e1b2faa1c57188c128afb735f70a (diff) | |
download | Qt-c48eb6d5d0a299449330dea8a6a59514942c8781.zip Qt-c48eb6d5d0a299449330dea8a6a59514942c8781.tar.gz Qt-c48eb6d5d0a299449330dea8a6a59514942c8781.tar.bz2 |
Initalize the nativeDialogInUse variable
When the variable was not initalized it would randomly show a native
font dialog or a non native one if the DontUseNativeDialogs flag was
set.
Task-number: QTBUG-12042
Reviewed-by: cduclos
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/qfontdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/dialogs/qfontdialog.cpp b/src/gui/dialogs/qfontdialog.cpp index a4bf15d..e9e3f23 100644 --- a/src/gui/dialogs/qfontdialog.cpp +++ b/src/gui/dialogs/qfontdialog.cpp @@ -332,6 +332,7 @@ void QFontDialogPrivate::init() #ifdef Q_WS_MAC delegate = 0; + nativeDialogInUse = false; #endif } |