Add option to disable feature for checking for a new update

(cherry picked from commit d26dd55dba066aa4884b00b55173597f49309f0d)
This commit is contained in:
Yuriy Puchkov
2021-01-31 11:47:03 +02:00
parent de3b0385d5
commit 540e407eb7
7 changed files with 62 additions and 1 deletions

View File

@@ -808,6 +808,10 @@ void CaptureWidget::initPanel()
void CaptureWidget::showAppUpdateNotification(const QString& appLatestVersion,
const QString& appLatestUrl)
{
if (!ConfigHandler().checkForUpdates()) {
// option check for updates disabled
return;
}
if (nullptr == m_updateNotificationWidget) {
m_updateNotificationWidget =
new UpdateNotificationWidget(this, appLatestVersion, appLatestUrl);