1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 18:22:46 +00:00

Rewire more of Sailfish frontend into new backend

This should encompass most simple things, besides some larger, trickier
things, like the video streams and the now-broken userdata
This commit is contained in:
Chris Josten 2021-08-11 23:35:33 +02:00
parent df1e134821
commit 7b6c272aa9
47 changed files with 620 additions and 291 deletions

View file

@ -54,7 +54,7 @@ Page {
label: qsTr("Connection state")
value: {
var stateText
switch(ApiClient.websocket.state) {
switch(apiClient.websocket.state) {
case 0:
//- Socket state
stateText = qsTr("Unconnected");
@ -85,7 +85,7 @@ Page {
break;
}
//- Socket state: "state no (state description)"
qsTr("%1 (%2)").arg(ApiClient.websocket.state).arg(stateText)
qsTr("%1 (%2)").arg(apiClient.websocket.state).arg(stateText)
}
}
@ -105,7 +105,7 @@ Page {
Label {
id: deviceProfile
color: Theme.secondaryHighlightColor
text: JSON.stringify(ApiClient.deviceProfile, null, '\t')
text: JSON.stringify(apiClient.deviceProfile, null, '\t')
}
HorizontalScrollDecorator {}
}