summaryrefslogtreecommitdiffstats
path: root/src/widgets/qquickqfontdialog.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-02-02 14:09:09 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-04 14:40:21 +0100
commit83bf3d791488e763b2d32408edab7f8040c7d0ac (patch)
tree26b8aee72d43379149d91fcb496d4f21ac1a9896 /src/widgets/qquickqfontdialog.cpp
parenta1df3e8537b7474db08e81bd1f0faebb13caebf4 (diff)
Normalize signal & slot signatures in connection
Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: I793aea0f46cc74f6466e52d00c0ec868c6603c77 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/widgets/qquickqfontdialog.cpp')
-rw-r--r--src/widgets/qquickqfontdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qquickqfontdialog.cpp b/src/widgets/qquickqfontdialog.cpp
index 6d637e1dd..6936aff78 100644
--- a/src/widgets/qquickqfontdialog.cpp
+++ b/src/widgets/qquickqfontdialog.cpp
@@ -56,8 +56,8 @@ public:
QFontDialogHelper() :
QPlatformFontDialogHelper()
{
- connect(&m_dialog, SIGNAL(currentFontChanged(const QFont &)), this, SIGNAL(currentFontChanged(const QFont &)));
- connect(&m_dialog, SIGNAL(fontSelected(const QFont &)), this, SIGNAL(fontSelected(const QFont &)));
+ connect(&m_dialog, SIGNAL(currentFontChanged(QFont)), this, SIGNAL(currentFontChanged(QFont)));
+ connect(&m_dialog, SIGNAL(fontSelected(QFont)), this, SIGNAL(fontSelected(QFont)));
connect(&m_dialog, SIGNAL(accepted()), this, SIGNAL(accept()));
connect(&m_dialog, SIGNAL(rejected()), this, SIGNAL(reject()));
}
@@ -166,8 +166,8 @@ QPlatformFontDialogHelper *QQuickQFontDialog::helper()
if (!m_dlgHelper) {
m_dlgHelper = new QFontDialogHelper();
- connect(m_dlgHelper, SIGNAL(currentFontChanged(const QFont &)), this, SLOT(setFont(const QFont &)));
- connect(m_dlgHelper, SIGNAL(fontSelected(const QFont &)), this, SLOT(setFont(const QFont &)));
+ connect(m_dlgHelper, SIGNAL(currentFontChanged(QFont)), this, SLOT(setFont(QFont)));
+ connect(m_dlgHelper, SIGNAL(fontSelected(QFont)), this, SLOT(setFont(QFont)));
connect(m_dlgHelper, SIGNAL(accept()), this, SLOT(accept()));
connect(m_dlgHelper, SIGNAL(reject()), this, SLOT(reject()));
}