From 1bf76dd3db9106fe99ee2f4bae7d7ecc4766faef Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 27 Aug 2016 12:26:13 -0700 Subject: Settings update: Fix broken UpdateManger logic In commit b76c1846bbfd ("Settings update: Simplify Update Manager") the logic for when to show the UpdateManger question to the user got broken. Unintuitively, a boolean setting actually has three possible values. True, False, and Unset. This patch fixes things to work as designed again. Signed-off-by: Dirk Hohndel --- core/subsurface-qt/SettingsObjectWrapper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/subsurface-qt/SettingsObjectWrapper.h') diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h index 2f9bffd67..129fd2325 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.h +++ b/core/subsurface-qt/SettingsObjectWrapper.h @@ -47,6 +47,7 @@ class UpdateManagerSettings : public QObject { public: UpdateManagerSettings(QObject *parent); bool dontCheckForUpdates() const; + bool dontCheckExists() const; QString lastVersionUsed() const; QDate nextCheck() const; -- cgit v1.2.3-70-g09d2