diff options
Diffstat (limited to 'agent/polkit-tqt-agent-session.cpp')
-rw-r--r-- | agent/polkit-tqt-agent-session.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/agent/polkit-tqt-agent-session.cpp b/agent/polkit-tqt-agent-session.cpp index eb8460be4..3d0da6153 100644 --- a/agent/polkit-tqt-agent-session.cpp +++ b/agent/polkit-tqt-agent-session.cpp @@ -66,7 +66,7 @@ void Session::Private::completed(PolkitAgentSession *s, gboolean gained_authoriz { g_object_unref(session->d->polkitAgentSession); } - session->d->polkitAgentSession = 0; + session->d->polkitAgentSession = nullptr; } void Session::Private::request(PolkitAgentSession *s, gchar *request, gboolean echo_on, @@ -168,7 +168,7 @@ AsyncResult::~AsyncResult() void AsyncResult::setCompleted() { - if (d->result == NULL) + if (d->result == nullptr) { return; } @@ -178,12 +178,12 @@ void AsyncResult::setCompleted() { g_object_unref(d->result); } - d->result = NULL; + d->result = nullptr; } void AsyncResult::setError(const TQString &text) { - if (d->result == NULL) + if (d->result == nullptr) { return; } |