diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-02 14:06:03 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-28 08:45:38 +0100 |
commit | 173f18f7ad6ab4b4fe0617cb9b8734e2d6be6d1a (patch) | |
tree | 9524dabe6f416db4539f6564ab9425a054acf8c0 /src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp | |
parent | 04a831be4e6020519a93646914c1647b36d859cb (diff) | |
download | qtlocation-173f18f7ad6ab4b4fe0617cb9b8734e2d6be6d1a.tar.gz |
Normalize signal & slot signatures in connection
Profiling shows Qt Creator spends 2% of its load time normalizing
Change-Id: Ica52c45e34fe53823b31faaa7d77a633458549d5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp')
-rw-r--r-- | src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp b/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp index 4380494a..d0fb5b93 100644 --- a/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp +++ b/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp @@ -141,9 +141,9 @@ QGeoRouteReply *QGeoRoutingManagerEngineNokia::calculateRoute(const QGeoRouteReq SLOT(routeFinished())); connect(reply, - SIGNAL(error(QGeoRouteReply::Error, QString)), + SIGNAL(error(QGeoRouteReply::Error,QString)), this, - SLOT(routeError(QGeoRouteReply::Error, QString))); + SLOT(routeError(QGeoRouteReply::Error,QString))); return reply; } @@ -172,9 +172,9 @@ QGeoRouteReply *QGeoRoutingManagerEngineNokia::updateRoute(const QGeoRoute &rout SLOT(routeFinished())); connect(reply, - SIGNAL(error(QGeoRouteReply::Error, QString)), + SIGNAL(error(QGeoRouteReply::Error,QString)), this, - SLOT(routeError(QGeoRouteReply::Error, QString))); + SLOT(routeError(QGeoRouteReply::Error,QString))); return reply; } @@ -495,7 +495,7 @@ void QGeoRoutingManagerEngineNokia::routeError(QGeoRouteReply::Error error, cons if (!reply) return; - if (receivers(SIGNAL(error(QGeoRouteReply*, QGeoRouteReply::Error, QString))) == 0) { + if (receivers(SIGNAL(error(QGeoRouteReply*,QGeoRouteReply::Error,QString))) == 0) { reply->deleteLater(); return; } |