Add trial edition type #4716
This commit is contained in:
parent
73ac3df22d
commit
bdc02677ec
|
@ -21,6 +21,7 @@
|
||||||
enum qEditionType {
|
enum qEditionType {
|
||||||
Basic,
|
Basic,
|
||||||
Pro,
|
Pro,
|
||||||
|
Trial,
|
||||||
Unknown
|
Unknown
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -992,6 +992,9 @@ void MainWindow::setEdition(int type)
|
||||||
else if (type == Pro) {
|
else if (type == Pro) {
|
||||||
title = "Synergy Pro";
|
title = "Synergy Pro";
|
||||||
}
|
}
|
||||||
|
else if (type == Trial) {
|
||||||
|
title = "Synergy Trial";
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
title = "Synergy (UNREGISTERED)";
|
title = "Synergy (UNREGISTERED)";
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,8 +64,7 @@ void PluginWizardPage::initializePage()
|
||||||
{
|
{
|
||||||
QWizardPage::initializePage();
|
QWizardPage::initializePage();
|
||||||
|
|
||||||
if (m_Edition == Unknown ||
|
if (m_Edition != Pro) {
|
||||||
m_Edition == Basic) {
|
|
||||||
updateStatus(tr("Setup complete."));
|
updateStatus(tr("Setup complete."));
|
||||||
showFinished();
|
showFinished();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue