Use new qt5 connect api

Change-Id: I7841baa54c9861275269981892e18d6b8fa58f3b
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Montel Laurent
2015-01-29 18:37:56 +01:00
committed by hjk
parent 7740c3bbec
commit c701506348
21 changed files with 116 additions and 97 deletions

View File

@@ -55,7 +55,8 @@ void UrlOpenProtocol::fetch(const QString &url)
{
QTC_ASSERT(!m_fetchReply, return);
m_fetchReply = httpGet(url);
connect(m_fetchReply, SIGNAL(finished()), this, SLOT(fetchFinished()));
connect(m_fetchReply, &QNetworkReply::finished,
this, &UrlOpenProtocol::fetchFinished);
}
void UrlOpenProtocol::fetchFinished()