From 89d3a66658ebdb16582a4d7a2cab57cfd6906393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 26 Jun 2017 01:14:32 +0200 Subject: NOISSUE some safe refactors and changes of the task subsystem Possibly also some bug fixes. --- application/LaunchController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/LaunchController.cpp') diff --git a/application/LaunchController.cpp b/application/LaunchController.cpp index e8f369be..d451e652 100644 --- a/application/LaunchController.cpp +++ b/application/LaunchController.cpp @@ -103,7 +103,7 @@ void LaunchController::login() progDialog.setSkipButton(true, tr("Play Offline")); } progDialog.execWithTask(task.get()); - if (!task->successful()) + if (!task->wasSuccessful()) { auto failReasonNew = task->failReason(); if(failReasonNew == "Invalid token.") -- cgit v1.2.3