From f8e8414d544f1227e86099146bba903c9082d09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 2 Sep 2013 00:25:40 +0200 Subject: Speed up the downloads. Massively. --- logic/tasks/LoginTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/tasks') diff --git a/logic/tasks/LoginTask.cpp b/logic/tasks/LoginTask.cpp index 21ac2a5d..4e2f0fb7 100644 --- a/logic/tasks/LoginTask.cpp +++ b/logic/tasks/LoginTask.cpp @@ -29,7 +29,7 @@ LoginTask::LoginTask( const UserInfo& uInfo, QObject* parent ) : Task(parent), u void LoginTask::executeTask() { setStatus("Logging in..."); - auto & worker = NetWorker::spawn(); + auto & worker = NetWorker::qnam(); connect(&worker, SIGNAL(finished(QNetworkReply*)), this, SLOT(processNetReply(QNetworkReply*))); QUrl loginURL("https://login.minecraft.net/"); -- cgit v1.2.3