summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-07-29 13:46:47 +0200
committerMontel Laurent <[email protected]>2015-07-29 13:46:47 +0200
commit731df14511cbca4b00d3922aa8f8c6a080d0c37a (patch)
tree491feb03e3c365b76251d8360d1107180f1dbbfb
parentf4222f56ce407fb887891d540498dfe66bdb35a0 (diff)
USe new connect api
-rw-r--r--pimcommon/gravatar/gravatarresolvurljob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimcommon/gravatar/gravatarresolvurljob.cpp b/pimcommon/gravatar/gravatarresolvurljob.cpp
index 6be781c..0b1276e 100644
--- a/pimcommon/gravatar/gravatarresolvurljob.cpp
+++ b/pimcommon/gravatar/gravatarresolvurljob.cpp
@@ -72,7 +72,7 @@ void GravatarResolvUrlJob::startNetworkManager(const QUrl &url)
if (Solid::Networking::status() == Solid::Networking::Connected || Solid::Networking::status() == Solid::Networking::Unknown) {
if (!mNetworkAccessManager) {
mNetworkAccessManager = new QNetworkAccessManager(this);
- connect(mNetworkAccessManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(slotFinishLoadPixmap(QNetworkReply*)));
+ connect(mNetworkAccessManager, &QNetworkAccessManager::finished, this, &GravatarResolvUrlJob::slotFinishLoadPixmap);
}
QNetworkReply *reply = mNetworkAccessManager->get(QNetworkRequest(url));
connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(slotError(QNetworkReply::NetworkError)));