From 130f43c9c17669ce02747176a7b3c2bf5f667204 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Tue, 30 Jul 2013 07:20:35 +0200 Subject: [PATCH] Gtk theme: emit currentFontChanged() in font dialog helper There is no signal for it in gtk font selection. We should emit this signal just before accept() was emitted. Change-Id: Ie31d96b789436607b134c84dd77a4b9be9e9a550 Reviewed-by: J-P Nurmi --- src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.cpp b/src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.cpp index 77a78d2140..91a23afac5 100644 --- a/src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.cpp +++ b/src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.cpp @@ -587,6 +587,7 @@ QFont QGtk2FontDialogHelper::currentFont() const void QGtk2FontDialogHelper::onAccepted() { + emit currentFontChanged(currentFont()); emit accept(); emit fontSelected(currentFont()); }