summaryrefslogtreecommitdiffstats
path: root/app/wifi/Wifi.qml
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-22 17:27:58 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-22 17:37:12 +0900
commit54028f6c8e856ac44e6833328b22d7b90fd4fbd7 (patch)
tree4bcb0b3e04be87e2452361654b9b287ec8bd06e1 /app/wifi/Wifi.qml
parent91bc9fbdcf73222e5c000ad91e10d6e446cb5c55 (diff)
Wifi & Bluetooth: use binding address defined in main.cpp
Change-Id: I37927e3287cc63531e58aedec0fee67eb4331e47 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app/wifi/Wifi.qml')
-rw-r--r--app/wifi/Wifi.qml7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index f5fdae1..f9a85e1 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -25,12 +25,7 @@ SettingPage {
title: 'Wifi'
checkable: true
- property string protocol: 'http://'
- property string ipAddress: '127.0.0.1'
- property string portNumber: Qt.application.arguments[1]
- property string tokenString: Qt.application.arguments[2]
- property string wifiAPI: '/api/wifi-manager/'
- property string wifiAPIpath: protocol + ipAddress + ':' + portNumber + wifiAPI
+ property string wifiAPIpath: bindingAddress + '/wifi-manager/'
Text {
id: log