From 41e57c9f1e44a47694eb1fc0725a8c8985780e0c Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 7 Jan 2021 21:39:28 +0100 Subject: Connection: don't explicitly reset QPointers See #437 for the discussion. (cherry picked from commit 6101971af86fdecd084759aa039b9d20a9d662a7) --- lib/connection.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/connection.cpp') diff --git a/lib/connection.cpp b/lib/connection.cpp index a61f1ada..3ed71bb4 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -1534,10 +1534,8 @@ void Connection::setHomeserver(const QUrl& url) { if (isJobRunning(d->resolverJob)) d->resolverJob->abandon(); - d->resolverJob = nullptr; if (isJobRunning(d->loginFlowsJob)) d->loginFlowsJob->abandon(); - d->loginFlowsJob = nullptr; d->loginFlows.clear(); if (homeserver() != url) { -- cgit v1.2.3