aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-09 11:53:38 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-09 11:53:38 +0900
commitdca271aaf0142e2722219df8fcc03bf8fc03c150 (patch)
treedce2f3d908c2e21c65db89de41c9b62a5ebe241d /connection.cpp
parenta568ea9a2a6b5ffb4b47520bbacb71943d8f8174 (diff)
parent8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 (diff)
downloadlibquotient-dca271aaf0142e2722219df8fcc03bf8fc03c150.tar.gz
libquotient-dca271aaf0142e2722219df8fcc03bf8fc03c150.zip
Merge branch 'master' into kitsune-gtad
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index 36da838f..85d310cc 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -123,7 +123,7 @@ void Connection::resolveServer(const QString& mxidOrDomain)
dns->setType(QDnsLookup::SRV);
dns->setName("_matrix._tcp." + domain);
- connect(dns, &QDnsLookup::finished, [this,dns,&maybeBaseUrl]() {
+ connect(dns, &QDnsLookup::finished, [this,dns,maybeBaseUrl]() {
QUrl baseUrl { maybeBaseUrl };
if (dns->error() == QDnsLookup::NoError &&
dns->serviceRecords().isEmpty())