From ff8057d34bb4e9cf12f5d39b5c1b79ac092b387f Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 9 Aug 2015 12:40:57 +0200 Subject: - MO now validates session cookie on startup - It also retrieves account status - rewrote how MO decides when to log-in/when to give up on logging in --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ae3bbb4c..8e9b7c9e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,6 +62,7 @@ along with Mod Organizer. If not, see . #include "selectiondialog.h" #include "moapplication.h" #include "tutorialmanager.h" +#include "nxmaccessmanager.h" #include #include #include @@ -534,6 +535,8 @@ int main(int argc, char *argv[]) } } + NexusInterface::instance()->getAccessManager()->startLoginCheck(); + qDebug("initializing tutorials"); TutorialManager::init(qApp->applicationDirPath() + "/" + QString::fromStdWString(AppConfig::tutorialsPath()) + "/", &organizer); -- cgit v1.3.1