summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrimaldia <hariasti.srimaldia-1@jp.alps.com>2016-12-22 16:58:46 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-22 09:15:06 +0000
commit6ac0a1618470e44cae99dbaf2c9bafb604c3e029 (patch)
treee017089af5ad756af30ce05bf9b95a5ee8b87fe4
parentfd1a08745b6f31225d31ec717a1cc772d9fb99c3 (diff)
Modify poll interval
Change-Id: I2a963667dd1eadb92533746fba829d7fe5916a3d Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
-rw-r--r--app/bluetooth/Bluetooth.qml2
-rw-r--r--app/wifi/Wifi.qml2
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()