diff --git a/src/qt_gui/check_update.cpp b/src/qt_gui/check_update.cpp index 3f80a1f3c..ac1aa9279 100644 --- a/src/qt_gui/check_update.cpp +++ b/src/qt_gui/check_update.cpp @@ -257,7 +257,6 @@ void CheckUpdate::setupUI(const QString& downloadUrl, const QString& latestDate, connect(toggleButton, &QPushButton::clicked, [this, textField, toggleButton, currentRev, latestRev, downloadUrl, latestDate, currentDate]() { - QString updateChannel = QString::fromStdString(Config::getUpdateChannel()); if (!textField->isVisible()) { requestChangelog(currentRev, latestRev, downloadUrl, latestDate, currentDate); @@ -273,7 +272,6 @@ void CheckUpdate::setupUI(const QString& downloadUrl, const QString& latestDate, }); if (Config::alwaysShowChangelog()) { - QString updateChannel = QString::fromStdString(Config::getUpdateChannel()); requestChangelog(currentRev, latestRev, downloadUrl, latestDate, currentDate); textField->setVisible(true); toggleButton->setText(tr("Hide Changelog"));