ui: show EULA on first start of windows portable package

This commit is contained in:
mlangkabel
2019-05-13 18:02:41 +02:00
parent 67e342119a
commit a9887da9f1
4 changed files with 6 additions and 3 deletions
@@ -9,6 +9,7 @@
#include "FileSystem.h"
#include "AppPath.h"
#include "Application.h"
#include "ResourcePaths.h"
#include "UserPaths.h"
#include "utility.h"
@@ -60,6 +61,8 @@ void setupApp(int argc, char *argv[])
userDataPath.concatenate(L"Sourcetrail/");
}
userDataPath.makeCanonical();
Application::EULA_ACCEPT_REQUIRED = false;
}
else
{
-2
View File
@@ -335,12 +335,10 @@ void QtMainWindow::loadWindow(bool showStartWindow, bool showEULA, bool enterLic
forceEnterLicense(licenseError);
}
#ifndef Q_OS_WIN
if (showEULA)
{
showEula(true);
}
#endif
}
void QtMainWindow::saveLayout()