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 { enum qEditionType {
Basic, Basic,
Pro, Pro,
Trial,
Unknown Unknown
}; };

View File

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

View File

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