diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-02 14:07:07 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-03 20:12:35 +0100 |
commit | e4035bf6d01c2105f64b5d548ccea51c7a48ef8d (patch) | |
tree | e82fad8e2b7f67c7729708035f13e68f1b4b9c89 /src/plugins/resourcepolicy | |
parent | 6f8ccc88e827aeb09f6f9c7219f2d5f5013c6ebb (diff) | |
download | qtmultimedia-e4035bf6d01c2105f64b5d548ccea51c7a48ef8d.tar.gz |
Normalize signal & slot signatures in connection
Profiling shows Qt Creator spends 2% of its load time normalizing
Change-Id: I1a4bef16be79ced35c47da865153ebe1bee22f9c
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/plugins/resourcepolicy')
-rw-r--r-- | src/plugins/resourcepolicy/resourcepolicyimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourcepolicy/resourcepolicyimpl.cpp b/src/plugins/resourcepolicy/resourcepolicyimpl.cpp index aed9ccb09..0acabc001 100644 --- a/src/plugins/resourcepolicy/resourcepolicyimpl.cpp +++ b/src/plugins/resourcepolicy/resourcepolicyimpl.cpp @@ -61,7 +61,7 @@ ResourcePolicyImpl::ResourcePolicyImpl(QObject *parent) m_resourceSet->update(); - connect(m_resourceSet, SIGNAL(resourcesGranted(const QList<ResourcePolicy::ResourceType>)), + connect(m_resourceSet, SIGNAL(resourcesGranted(QList<ResourcePolicy::ResourceType>)), this, SLOT(handleResourcesGranted())); connect(m_resourceSet, SIGNAL(resourcesDenied()), this, SLOT(handleResourcesDenied())); |