aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connectiondata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connectiondata.cpp b/lib/connectiondata.cpp
index 4e9bc77e..eb516ef7 100644
--- a/lib/connectiondata.cpp
+++ b/lib/connectiondata.cpp
@@ -59,13 +59,13 @@ QNetworkAccessManager* ConnectionData::nam() const
void ConnectionData::setBaseUrl(QUrl baseUrl)
{
- d->baseUrl = baseUrl;
+ d->baseUrl = std::move(baseUrl);
qCDebug(MAIN) << "updated baseUrl to" << d->baseUrl;
}
void ConnectionData::setToken(QByteArray token)
{
- d->accessToken = token;
+ d->accessToken = std::move(token);
}
void ConnectionData::setHost(QString host)