Fix manual update check which was hardcoded to "dev" track

This commit is contained in:
Pierre Bourdon 2022-02-23 18:39:28 +01:00
parent 5b3b6a7f1d
commit 281dfd3e6a
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C
1 changed files with 2 additions and 1 deletions

View File

@ -549,7 +549,8 @@ void MenuBar::AddOptionsMenu()
void MenuBar::InstallUpdateManually()
{
auto* updater =
new Updater(this->parentWidget(), "dev", Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE));
new Updater(this->parentWidget(), Config::Get(Config::MAIN_AUTOUPDATE_UPDATE_TRACK),
Config::Get(Config::MAIN_AUTOUPDATE_HASH_OVERRIDE));
if (!updater->CheckForUpdate())
{