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