mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-08 21:03:54 +08:00
Add trial edition type #4716
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user