aboutsummaryrefslogtreecommitdiff
path: root/connectiondata.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-22 14:28:09 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-22 14:28:09 +0900
commit795fa8c45bec3569cc74f02750d831031dbe29d1 (patch)
tree70287f83385f3a3a20d7d5e19283442cac0464b9 /connectiondata.cpp
parent128b7259a7f6cc39545711323a074103ea9520f7 (diff)
downloadlibquotient-795fa8c45bec3569cc74f02750d831031dbe29d1.tar.gz
libquotient-795fa8c45bec3569cc74f02750d831031dbe29d1.zip
Force-create NAM earlier
To somewhat ease a bump at sending the first network request.
Diffstat (limited to 'connectiondata.cpp')
-rw-r--r--connectiondata.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/connectiondata.cpp b/connectiondata.cpp
index a982ed3e..4276fd19 100644
--- a/connectiondata.cpp
+++ b/connectiondata.cpp
@@ -50,6 +50,7 @@ struct ConnectionData::Private
ConnectionData::ConnectionData(QUrl baseUrl)
: d(new Private)
{
+ nam(); // Just to ensure NAM is created
d->baseUrl = baseUrl;
}