summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-27 11:36:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-02 13:20:44 -0700
commitac8936004e301050b0dc4feda124a893dc00f7df (patch)
treed7f357564ac0e27a6f457aa27e538b553ce3d03a /desktop-widgets
parent251d2589ad824180c664c7326c9ee86df5e4dae2 (diff)
downloadsubsurface-ac8936004e301050b0dc4feda124a893dc00f7df.tar.gz
update-manager: actually remember that we asked the user
Otherwise we get that annoying question every time the git version changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/updatemanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/updatemanager.cpp b/desktop-widgets/updatemanager.cpp
index ee209474c..0cc7b8c72 100644
--- a/desktop-widgets/updatemanager.cpp
+++ b/desktop-widgets/updatemanager.cpp
@@ -120,6 +120,7 @@ void UpdateManager::requestReceived()
response.setIcon(QMessageBox::Question);
response.setWindowModality(Qt::WindowModal);
update_settings->set_dont_check_for_updates(response.exec() != QMessageBox::Accepted);
+ update_settings->set_dont_check_exists(true);
}
}
}