diff --git a/Quotient/connection.cpp b/Quotient/connection.cpp index 872c6a3e..c115766e 100644 --- a/Quotient/connection.cpp +++ b/Quotient/connection.cpp @@ -131,8 +131,8 @@ void Connection::resolveServer(const QString& mxid) d->data->setBaseUrl(maybeBaseUrl); // Temporarily set it for this one call d->resolverJob = callApi(); // Make sure baseUrl is restored in any case, even an abandon, and before any further processing - connect(d->resolverJob.get(), &BaseJob::finished, this, - [this, oldBaseUrl] { d->data->setBaseUrl(oldBaseUrl); }); + // connect(d->resolverJob.get(), &BaseJob::finished, this, + // [this, oldBaseUrl] { d->data->setBaseUrl(oldBaseUrl); }); d->resolverJob.onResult(this, [this, maybeBaseUrl]() mutable { if (d->resolverJob->error() != BaseJob::NotFound) { if (!d->resolverJob->status().good()) { diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index c189f16d..18b0c125 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -965,7 +965,6 @@ void TestManager::finalize(const QString& lastWords) clog << "Logging out" << endl; c->logout().then( this, [this, lastWords] { - //clog << lastWords.toStdString() << endl; QCoreApplication::exit(!testSuite ? -3 : succeeded.empty() && failed.empty() && running.empty()