Add trial edition type #4716

This commit is contained in:
Jerry (Xinyu Hou) 2015-10-30 11:57:12 -07:00
parent 73ac3df22d
commit bdc02677ec
3 changed files with 5 additions and 2 deletions

View File

@ -21,6 +21,7 @@
enum qEditionType {
Basic,
Pro,
Trial,
Unknown
};

View File

@ -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)";
}

View File

@ -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;