From 6ee2131e3139206782bf3da12e7253066f39abb1 Mon Sep 17 00:00:00 2001 From: Oskar Chodowicz Date: Tue, 25 Jun 2019 18:52:21 +0200 Subject: [PATCH] Fix for wrong variable type Change-Id: Ie384bbdc8274dde985e7b3aeae6df6fefb970f2c --- src/model/AutoScanModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/AutoScanModel.cpp b/src/model/AutoScanModel.cpp index 7e14210..42f0e45 100644 --- a/src/model/AutoScanModel.cpp +++ b/src/model/AutoScanModel.cpp @@ -4,7 +4,7 @@ AutoScanModel::AutoScanModel() { - enabledHandle_ = Singleton::instance().registerAndGet("db/setting/accessibility/universal-switch/AUTO_SCAN_ENABLED", 1, [this](auto val) { + enabledHandle_ = Singleton::instance().registerAndGet("db/setting/accessibility/universal-switch/AUTO_SCAN_ENABLED", true, [this](auto val) { this->enabled_ = val; }); -- 2.7.4