forked from qt-creator/qt-creator
Use new qt5 connect api
Change-Id: I7841baa54c9861275269981892e18d6b8fa58f3b Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user