diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-28 17:59:24 +0300 |
---|---|---|
committer | Camila <smayres@gmail.com> | 2020-06-03 17:10:39 +0300 |
commit | e3e262e42e97d7aa4c1e0391ce706c0a0cd92dd9 (patch) | |
tree | db7f080c681e0e5f00970b096dceae3cacdc3af7 /src/gui/proxyauthhandler.h | |
parent | 965909f7fa60ee9b8a0e06112c79b0b105ccc73e (diff) |
Use default member init when applicable
This also fixes a couple of warnings at places (out of order init for
instance) and a potential bug in the webflow credentials / qtkeychain
integration.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui/proxyauthhandler.h')
-rw-r--r-- | src/gui/proxyauthhandler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/proxyauthhandler.h b/src/gui/proxyauthhandler.h index 3d5afedd3..6e4e24902 100644 --- a/src/gui/proxyauthhandler.h +++ b/src/gui/proxyauthhandler.h @@ -84,14 +84,14 @@ private: /// If the user cancels the credential dialog, blocked will be set to /// true and we won't bother him again. - bool _blocked; + bool _blocked = false; /// In several instances handleProxyAuthenticationRequired() can be called /// while it is still running. These counters detect what we're currently /// waiting for. - int _waitingForDialog; - int _waitingForKeychain; - bool _keychainJobRunning; + int _waitingForDialog = 0; + int _waitingForKeychain = 0; + bool _keychainJobRunning = false; QPointer<ProxyAuthDialog> _dialog; |