File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ namespace OCC {
3434
3535Q_LOGGING_CATEGORY (lcUpdater, " gui.updater" , QtInfoMsg)
3636
37+ [[deprecated(" updateChannel is no longer supported. the key will be removed in 8.0" )]]
38+ const QString updateChannelC () { return QStringLiteral (" updateChannel" ); }
39+
3740QString updateChannel ()
3841{
3942 // remove deprecated updateChannel setting once we hit 8.0
4043 auto settings = ConfigFile::makeQSettings ();
41- QString updateChannelKey = " updateChannel " ;
44+ QString updateChannelKey = updateChannelC () ;
4245 /*
4346 if (settings.contains(updateChannelKey)) {
4447 settings.remove(updateChannelKey);
Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ const QString optionalDesktopNotificationsC()
5959}
6060const QString skipUpdateCheckC () { return QStringLiteral (" skipUpdateCheck" ); }
6161const QString updateCheckIntervalC () { return QStringLiteral (" updateCheckInterval" ); }
62- // deprecated - will be removed in 8.0
63- // const QString updateChannelC() { return QStringLiteral("updateChannel"); }
6462const QString uiLanguageC () { return QStringLiteral (" uiLanguage" ); }
6563const QString geometryC () { return QStringLiteral (" geometry" ); }
6664const QString timeoutC () { return QStringLiteral (" timeout" ); }
You can’t perform that action at this time.
0 commit comments