ui: show EULA on first start of windows portable package
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user