summaryrefslogtreecommitdiffstats
path: root/src/plugins/platformthemes
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@digia.com>2013-07-30 07:20:35 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-30 22:49:44 +0200
commit130f43c9c17669ce02747176a7b3c2bf5f667204 (patch)
tree64b69467ad9c2d620bf876b1be07e600cc378b0d /src/plugins/platformthemes
parentc3f485c5250a503832e767e1fe5e40595126f6c5 (diff)
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 <jpnurmi@digia.com>
Diffstat (limited to 'src/plugins/platformthemes')
-rw-r--r--src/plugins/platformthemes/gtk2/qgtk2dialoghelpers.cpp1
1 files changed, 1 insertions, 0 deletions
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());
}