Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <kamm@incasoftware.de>2015-07-17 13:46:04 +0300
committerChristian Kamm <kamm@incasoftware.de>2015-07-17 14:00:16 +0300
commit44870fae9f808da7043aa1a545242b55e018613b (patch)
tree1996e826385bb10baa8c601bd4468ea5e2fe0357 /src/gui/proxyauthhandler.h
parent9acc9d2d446241b157457e17d605bbb36fb60490 (diff)
Proxy auth: Fix cred invalidation on Windows.
Diffstat (limited to 'src/gui/proxyauthhandler.h')
-rw-r--r--src/gui/proxyauthhandler.h7
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