Another fix for osx...

parent 26a02853
...@@ -127,7 +127,8 @@ void MainWin::httpResponseFinished(QNetworkReply * reply) ...@@ -127,7 +127,8 @@ void MainWin::httpResponseFinished(QNetworkReply * reply)
// connect(nam, SIGNAL(finished(QNetworkReply *)), this, SLOT(httpResponseFinished(QNetworkReply *))); // 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&"))); yt->load(QUrl(urlstr.remove("html5=1&")));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment