From b2966fecc7a610ea4df81cd9eaed4bf234c5587a Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sat, 14 Jun 2014 02:56:12 +0200 Subject: [PATCH] Shib: remove slotLoadFinished() from webview dtor This is a relict from when the webview was reused. It is now pointless, since it's now destruct-on-close. --- src/creds/shibboleth/shibbolethwebview.cpp | 1 - src/creds/shibboleth/shibbolethwebview.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/creds/shibboleth/shibbolethwebview.cpp b/src/creds/shibboleth/shibbolethwebview.cpp index f4948b04d5..c641d22c85 100644 --- a/src/creds/shibboleth/shibbolethwebview.cpp +++ b/src/creds/shibboleth/shibbolethwebview.cpp @@ -65,7 +65,6 @@ ShibbolethWebView::ShibbolethWebView(Account* account, QWidget* parent) ShibbolethWebView::~ShibbolethWebView() { - slotLoadFinished(); } void ShibbolethWebView::onNewCookiesForUrl (const QList& cookieList, const QUrl& url) diff --git a/src/creds/shibboleth/shibbolethwebview.h b/src/creds/shibboleth/shibbolethwebview.h index c002e7e047..1999dfde95 100644 --- a/src/creds/shibboleth/shibbolethwebview.h +++ b/src/creds/shibboleth/shibbolethwebview.h @@ -46,7 +46,7 @@ Q_SIGNALS: private Q_SLOTS: void onNewCookiesForUrl(const QList& cookieList, const QUrl& url); void slotLoadStarted(); - void slotLoadFinished(bool success = true); + void slotLoadFinished(bool success); void slotHandleAuthentication(QNetworkReply*,QAuthenticator*); protected: