ui: Show license type label in title bar: "Sourcetrail [trial, test, non-commercial]"

This commit is contained in:
Eberhard Graether
2017-07-17 15:31:06 +02:00
parent 83e5497a18
commit 4bb88a51b7
9 changed files with 78 additions and 23 deletions
+2 -2
View File
@@ -426,7 +426,7 @@ void QtMainWindow::enteredLicense()
m_windowStack.clearWindows();
setTrialActionsEnabled(true);
MessageEnteredLicense().dispatch();
MessageEnteredLicense(LicenseChecker::getInstance()->getCurrentLicenseType()).dispatch();
if (showStartWindow)
{
@@ -451,7 +451,7 @@ void QtMainWindow::showStartScreen()
if (licenseValid)
{
MessageEnteredLicense().dispatch();
MessageEnteredLicense(LicenseChecker::getInstance()->getCurrentLicenseType()).dispatch();
}
setTrialActionsEnabled(licenseValid);