mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12: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:
parent
df1e134821
commit
7b6c272aa9
47 changed files with 620 additions and 291 deletions
|
@ -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 {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue