From 4b8371d08b23230cbc89cbd27f6841a53fdd9aae Mon Sep 17 00:00:00 2001 From: nextime <nextime@nexlab.it> Date: Wed, 6 Mar 2013 00:32:06 +0100 Subject: [PATCH] Another fix for osx... --- src/mainwin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainwin.cpp b/src/mainwin.cpp index f9d0b2b..79db2ea 100644 --- a/src/mainwin.cpp +++ b/src/mainwin.cpp @@ -127,7 +127,8 @@ void MainWin::httpResponseFinished(QNetworkReply * reply) // connect(nam, SIGNAL(finished(QNetworkReply *)), this, SLOT(httpResponseFinished(QNetworkReply *))); - disconnect(yt->page()->networkAccessManager(), &ReferredNetworkAccessManager::finished, this, &MainWin::httpResponseFinished); + //disconnect(yt->page()->networkAccessManager(), &ReferredNetworkAccessManager::finished, this, &MainWin::httpResponseFinished); + disconnect(yt->page()->networkAccessManager(), SIGNAL(finished(QNetworkReply *)), this, SLOT(httpResponseFinished(QNetworkReply *))); yt->load(QUrl(urlstr.remove("html5=1&"))); } } -- 2.18.1