From 81d9daa6040f7c7b7c9eb3680e5df153cbae749f Mon Sep 17 00:00:00 2001 From: Robert Krajewski Date: Sat, 27 Apr 2019 22:19:14 +0200 Subject: [PATCH] Increase available login time from 60 to 120 seconds --- src/login.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/login.cpp b/src/login.cpp index b0c7520..91a3f11 100644 --- a/src/login.cpp +++ b/src/login.cpp @@ -13,9 +13,9 @@ Login::Login(QWidget *parent) : stopLogin(false), settingsLoaded(false), QObject((QObject*)parent) { - // Automatisch Abbruch des Logins nach 60 Sekunden + // Automatisch Abbruch des Logins nach 120 Sekunden stopLoginTimer.setSingleShot(true); - stopLoginTimer.setInterval(60 * 1000); + stopLoginTimer.setInterval(120 * 1000); QObject::connect(&stopLoginTimer, SIGNAL(timeout()), this, SLOT(stopLoginSlot())); QObject::connect( &manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(finishedSlot(QNetworkReply*)) ); @@ -40,7 +40,7 @@ void Login::init() void Login::getAccess() { - // Nach 60 Sekunden abbrechen + // Nach 120 Sekunden abbrechen stopLogin = false; stopLoginTimer.stop();