Skip to content

Commit

Permalink
Increase available login time from 60 to 120 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertKrajewski committed Apr 27, 2019
1 parent dc46e36 commit 81d9daa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/login.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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*)) );
Expand All @@ -40,7 +40,7 @@ void Login::init()

void Login::getAccess()
{
// Nach 60 Sekunden abbrechen
// Nach 120 Sekunden abbrechen
stopLogin = false;

stopLoginTimer.stop();
Expand Down

0 comments on commit 81d9daa

Please sign in to comment.