From 6101971af86fdecd084759aa039b9d20a9d662a7 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. --- lib/connection.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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) { -- cgit v1.2.3