Fix for wrong variable type 30/208530/4
authorOskar Chodowicz <o.chodowicz@samsung.com>
Tue, 25 Jun 2019 16:52:21 +0000 (18:52 +0200)
committerLukasz Wlazly <l.wlazly@partner.samsung.com>
Thu, 27 Jun 2019 06:57:41 +0000 (08:57 +0200)
Change-Id: Ie384bbdc8274dde985e7b3aeae6df6fefb970f2c

src/model/AutoScanModel.cpp

index 7e14210d4c0597d97b85a11c9e3802b8da90ebb3..42f0e45cd84f2de3dea2a15fc645243e2601598b 100644 (file)
@@ -4,7 +4,7 @@
 
 AutoScanModel::AutoScanModel()
 {
-       enabledHandle_ = Singleton<VConfInterface>::instance().registerAndGet<double>("db/setting/accessibility/universal-switch/AUTO_SCAN_ENABLED", 1, [this](auto val) {
+       enabledHandle_ = Singleton<VConfInterface>::instance().registerAndGet<bool>("db/setting/accessibility/universal-switch/AUTO_SCAN_ENABLED", true, [this](auto val) {
                this->enabled_ = val;
        });