Skip to content

Commit

Permalink
Onlu list enterprise for customers not running branded clients.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Jun 3, 2024
1 parent 298a5ca commit 6558641
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,16 +392,17 @@ void GeneralSettings::slotUpdateChannelChanged()
return;
}

const auto enterprise = _ui->updateChannel->count() > 3 ? "- enterprise: contains stable versions for customers.\n" : "";
auto msgBox = new QMessageBox(
QMessageBox::Warning,
tr("Changing update channel?"),
tr("The channel determines which upgrades will be offered to install:\n"
"- stable: contains versions considered reliable.\n"
"- beta: contains versions with new features in test.\n"
"- daily: contains versions created daily only for testing.\n"
"- enterprise: contains stable versions for customers.\n\n"
"%1\n"
"Downgrading is not possible: changing from beta to stable means waiting for a newer "
"version than the one installed."),
"version than the one installed.").arg(enterprise),
QMessageBox::NoButton,
this);
const auto acceptButton = msgBox->addButton(tr("Change update channel"), QMessageBox::AcceptRole);
Expand Down

0 comments on commit 6558641

Please sign in to comment.