diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-13 17:29:05 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-17 15:45:57 +0000 |
commit | b57c878dfc9565e86854779ac2ccb38e5adad32b (patch) | |
tree | 33938e8bb59183553b7e28c3cd8b81161b5b77b9 /src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h | |
parent | 0295984786027eed9ac433592794300e7b2546f8 (diff) |
QGtk3FontDialogHelper: provide proper currentFontChanged()
A workaround for the missing currentFontChanged() signal was added in
130f43c. Now we can remove the improper emission on accept, because by
using the "notify::font" signal gives proper notifications whenever the
current font selection in the dialog changes.
Task-number: QTBUG-55298
Change-Id: Id9a4f32a92f0be8f466a0a0587bb2acd4c9056f7
Reviewed-by: Dmitry Shachnev <mitya57@gmail.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h')
-rw-r--r-- | src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h b/src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h index c852fd05f6..40961d5201 100644 --- a/src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h +++ b/src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.h @@ -136,6 +136,7 @@ private Q_SLOTS: void onAccepted(); private: + static void onFontChanged(QGtk3FontDialogHelper *helper); void applyOptions(); QScopedPointer<QGtk3Dialog> d; |