diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:53:38 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:53:38 +0900 |
commit | dca271aaf0142e2722219df8fcc03bf8fc03c150 (patch) | |
tree | dce2f3d908c2e21c65db89de41c9b62a5ebe241d /connection.cpp | |
parent | a568ea9a2a6b5ffb4b47520bbacb71943d8f8174 (diff) | |
parent | 8fb9e3560ebf24ed6b697e3142a4fc7c6bd23393 (diff) | |
download | libquotient-dca271aaf0142e2722219df8fcc03bf8fc03c150.tar.gz libquotient-dca271aaf0142e2722219df8fcc03bf8fc03c150.zip |
Merge branch 'master' into kitsune-gtad
Diffstat (limited to 'connection.cpp')
-rw-r--r-- | connection.cpp | 2 |
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()) |