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:
authorOlivier Goffart <ogoffart@woboq.com>2020-02-05 14:34:41 +0300
committerOlivier Goffart <olivier@woboq.com>2020-02-10 18:41:07 +0300
commitfc69d5271e674bde6b71ba46b1d86588b9b30705 (patch)
tree9b239a78d1404755ff151cdceb4943b57870c6b8 /src/gui/creds
parent146d75a2d601509157a0fcd981ef0209926e7d6c (diff)
Run clang-tidy check for modernize-use-nullptr
Diffstat (limited to 'src/gui/creds')
-rw-r--r--src/gui/creds/httpcredentialsgui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/creds/httpcredentialsgui.cpp b/src/gui/creds/httpcredentialsgui.cpp
index b6bc81bfc..3e9eb688f 100644
--- a/src/gui/creds/httpcredentialsgui.cpp
+++ b/src/gui/creds/httpcredentialsgui.cpp
@@ -71,10 +71,10 @@ void HttpCredentialsGui::asyncAuthResult(OAuth::Result r, const QString &user,
switch (r) {
case OAuth::NotSupported:
showDialog();
- _asyncAuth.reset(0);
+ _asyncAuth.reset(nullptr);
return;
case OAuth::Error:
- _asyncAuth.reset(0);
+ _asyncAuth.reset(nullptr);
emit asked();
return;
case OAuth::LoggedIn:
@@ -87,7 +87,7 @@ void HttpCredentialsGui::asyncAuthResult(OAuth::Result r, const QString &user,
_refreshToken = refreshToken;
_ready = true;
persist();
- _asyncAuth.reset(0);
+ _asyncAuth.reset(nullptr);
emit asked();
}