logic: Application moving protection, licensegenerator for other licensetypes

* Licensegenerator can now generate any type of license via commandline argument
* When moving the appliction, the user needs to enter the License again
This commit is contained in:
Andreas Stallinger
2016-02-10 12:52:00 +01:00
parent 082b94ac8d
commit 50a94bf108
12 changed files with 117 additions and 41 deletions
+5
View File
@@ -65,6 +65,11 @@ int main(int argc, char *argv[])
QtMainWindow::setWindowSettingsPath(windowSettingsPath);
Application::setAppSettingsPath(appSettingsPath);
if(AppPath::getAppPath().empty())
{
AppPath::setAppPath(QCoreApplication::applicationDirPath().toStdString());
}
LicenseChecker checker;