Skip to content

Commit

Permalink
Remove the update channel settings from the unbranded client (ownclou…
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Oct 5, 2020
1 parent 331a3cc commit 986f05e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions changelog/unreleased/8127
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Change: Remove update channels from the ownCloud client

To ensure a maximum of stability user should not replace their productive client with a preview build.
For that exact reason we offer tespilotcloud clients, they can be installed in parallel and updated via the beta channel.

If a user is more adventures than the average a manual install of a preview is always possible.

https://github.com/owncloud/client/issues/8127
8 changes: 5 additions & 3 deletions src/gui/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,23 @@ GeneralSettings::GeneralSettings(QWidget *parent)
connect(AccountManager::instance(), &AccountManager::accountAdded, this, &GeneralSettings::loadMiscSettings);

// Only our standard brandings currently support beta channel
Theme *theme = Theme::instance();
if (theme->appName() != QLatin1String("ownCloud") && theme->appName() != QLatin1String("testpilotcloud") ) {
if (Theme::instance()->appName() != QLatin1String("testpilotcloud")) {
#ifdef Q_OS_MAC
// Because we don't have any statusString from the SparkleUpdater anyway we can hide the whole thing
_ui->updaterWidget->hide();
#else
_ui->updateChannelLabel->hide();
_ui->updateChannel->hide();
if (ConfigFile().updateChannel() != QLatin1String("stable")) {
ConfigFile().setUpdateChannel(QStringLiteral("stable"));
}
#endif
}

_ui->versionLabel->setText(QStringLiteral("<a href='%1'>%1</a>").arg(MIRALL_VERSION_STRING));
QObject::connect(_ui->versionLabel, &QLabel::linkActivated, this, &GeneralSettings::showAbout);

if (!theme->aboutShowCopyright()) {
if (!Theme::instance()->aboutShowCopyright()) {
_ui->copyrightLabelDotBefore->hide();
_ui->copyrightLabel->hide();
}
Expand Down

0 comments on commit 986f05e

Please sign in to comment.