aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2021-01-07 21:39:28 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2021-01-07 21:39:28 +0100
commit6101971af86fdecd084759aa039b9d20a9d662a7 (patch)
tree4f5ef642f89f56c3c6a54df107f7a12df5740d91 /lib
parent78a3137920d9680072dc3796dd90f849e8467fd4 (diff)
downloadlibquotient-6101971af86fdecd084759aa039b9d20a9d662a7.tar.gz
libquotient-6101971af86fdecd084759aa039b9d20a9d662a7.zip
Connection: don't explicitly reset QPointers
See #437 for the discussion.
Diffstat (limited to 'lib')
-rw-r--r--lib/connection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index b8294393..fce135ed 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -1546,10 +1546,8 @@ void Connection::setHomeserver(const QUrl& url)
{
if (isJobPending(d->resolverJob))
d->resolverJob->abandon();
- d->resolverJob = nullptr;
if (isJobPending(d->loginFlowsJob))
d->loginFlowsJob->abandon();
- d->loginFlowsJob = nullptr;
d->loginFlows.clear();
if (homeserver() != url) {