diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-02 14:09:09 -0800 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-04 14:40:21 +0100 |
| commit | 83bf3d791488e763b2d32408edab7f8040c7d0ac (patch) | |
| tree | 26b8aee72d43379149d91fcb496d4f21ac1a9896 /src/dialogs/qquickplatformfontdialog.cpp | |
| parent | a1df3e8537b7474db08e81bd1f0faebb13caebf4 (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/dialogs/qquickplatformfontdialog.cpp')
| -rw-r--r-- | src/dialogs/qquickplatformfontdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/qquickplatformfontdialog.cpp b/src/dialogs/qquickplatformfontdialog.cpp index 05500489c..961d776d3 100644 --- a/src/dialogs/qquickplatformfontdialog.cpp +++ b/src/dialogs/qquickplatformfontdialog.cpp @@ -168,8 +168,8 @@ QPlatformFontDialogHelper *QQuickPlatformFontDialog::helper() return m_dlgHelper; connect(m_dlgHelper, SIGNAL(accept()), this, SLOT(accept())); connect(m_dlgHelper, SIGNAL(reject()), this, SLOT(reject())); - 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))); } return m_dlgHelper; |
