From 6ac0a1618470e44cae99dbaf2c9bafb604c3e029 Mon Sep 17 00:00:00 2001 From: srimaldia Date: Thu, 22 Dec 2016 16:58:46 +0900 Subject: Modify poll interval Change-Id: I2a963667dd1eadb92533746fba829d7fe5916a3d Signed-off-by: srimaldia --- app/bluetooth/Bluetooth.qml | 2 +- app/wifi/Wifi.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml index e8cca1a..cd0d982 100644 --- a/app/bluetooth/Bluetooth.qml +++ b/app/bluetooth/Bluetooth.qml @@ -302,7 +302,7 @@ SettingPage { //Timer for periodic refresh; this is BAD solution, need to figure out how to subscribe for events Timer { id: periodicRefresh - interval: (currentState == "idle")? 10000:5000 // 5seconds + interval: (currentState == "idle")? 10000:1000 // 1second onTriggered: { btDeviceList.clear() diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml index e0ae950..8f2fff2 100644 --- a/app/wifi/Wifi.qml +++ b/app/wifi/Wifi.qml @@ -399,7 +399,7 @@ SettingPage { //Timer for periodic refresh; this is BAD solution, need to figure out how to subscribe for events Timer { id: periodicRefresh - interval: 5000 // 5seconds + interval: 1000 // 1second onTriggered: { networkList.clear() -- cgit 1.2.3-korg