mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
Fix slot signature.
This commit is contained in:
parent
053010a3a4
commit
9cfc6b10f1
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ void WebPage::setCustomNetworkAccessManager() {
|
|||
manager->setCookieJar(new NetworkCookieJar());
|
||||
this->setNetworkAccessManager(manager);
|
||||
connect(manager, SIGNAL(finished(QNetworkReply *)), this, SLOT(replyFinished(QNetworkReply *)));
|
||||
connect(manager, SIGNAL(sslErrors(QNetworkReply *, QList<QSslError> &)), this, SLOT(ignoreSslErrors(QNetworkReply *, QList<QSslError> &)));
|
||||
connect(manager, SIGNAL(sslErrors(QNetworkReply *, QList<QSslError>)), this, SLOT(ignoreSslErrors(QNetworkReply *, QList<QSslError>)));
|
||||
}
|
||||
|
||||
void WebPage::loadJavascript() {
|
||||
|
@ -193,7 +193,7 @@ void WebPage::replyFinished(QNetworkReply *reply) {
|
|||
}
|
||||
}
|
||||
|
||||
void WebPage::ignoreSslErrors(QNetworkReply *reply, QList<QSslError> &errors) {
|
||||
void WebPage::ignoreSslErrors(QNetworkReply *reply, const QList<QSslError> &errors) {
|
||||
reply->ignoreSslErrors(errors);
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class WebPage : public QWebPage {
|
|||
QString pageHeaders();
|
||||
void frameCreated(QWebFrame *);
|
||||
void replyFinished(QNetworkReply *reply);
|
||||
void ignoreSslErrors(QNetworkReply *reply, QList<QSslError> &);
|
||||
void ignoreSslErrors(QNetworkReply *reply, const QList<QSslError> &);
|
||||
void handleUnsupportedContent(QNetworkReply *reply);
|
||||
|
||||
signals:
|
||||
|
|
Loading…
Reference in a new issue