diff options
author | Christian Kamm <kamm@incasoftware.de> | 2015-07-17 13:46:04 +0300 |
---|---|---|
committer | Christian Kamm <kamm@incasoftware.de> | 2015-07-17 14:00:16 +0300 |
commit | 44870fae9f808da7043aa1a545242b55e018613b (patch) | |
tree | 1996e826385bb10baa8c601bd4468ea5e2fe0357 /src/gui/proxyauthhandler.h | |
parent | 9acc9d2d446241b157457e17d605bbb36fb60490 (diff) |
Proxy auth: Fix cred invalidation on Windows.
Diffstat (limited to 'src/gui/proxyauthhandler.h')
-rw-r--r-- | src/gui/proxyauthhandler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/proxyauthhandler.h b/src/gui/proxyauthhandler.h index 872ae09e2..eae20f14a 100644 --- a/src/gui/proxyauthhandler.h +++ b/src/gui/proxyauthhandler.h @@ -21,6 +21,7 @@ #include <QPointer> #include <QScopedPointer> #include <QSettings> +#include <QSet> namespace QKeychain { class Job; @@ -56,6 +57,7 @@ public slots: private slots: void slotKeychainJobDone(); + void slotSenderDestroyed(QObject*); private: ProxyAuthHandler(); @@ -100,6 +102,11 @@ private: /// For checking the proxy config settings. QScopedPointer<ConfigFile> _configFile; + + /// To distinguish between a new QNAM asking for credentials and credentials + /// failing for an existing QNAM, we keep track of the senders of the + /// proxyAuthRequired signal here. + QSet<QObject*> _gaveCredentialsTo; }; } // namespace OCC |