mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 06:30:55 +00:00
Use specific resuming text when reconnecting to a game
This commit is contained in:
+5
-1
@@ -197,7 +197,11 @@ CenteredGridView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var component = Qt.createComponent("StreamSegue.qml")
|
var component = Qt.createComponent("StreamSegue.qml")
|
||||||
var segue = component.createObject(stackView, {"appName": model.name, "session": appModel.createSessionForApp(index)})
|
var segue = component.createObject(stackView, {
|
||||||
|
"appName": model.name,
|
||||||
|
"session": appModel.createSessionForApp(index),
|
||||||
|
"isResume": runningId === model.appid
|
||||||
|
})
|
||||||
stackView.push(segue)
|
stackView.push(segue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ import Session 1.0
|
|||||||
Item {
|
Item {
|
||||||
property Session session
|
property Session session
|
||||||
property string appName
|
property string appName
|
||||||
property string stageText : qsTr("Starting %1...").arg(appName)
|
property string stageText : isResume ? qsTr("Resuming %1...").arg(appName) :
|
||||||
|
qsTr("Starting %1...").arg(appName)
|
||||||
|
property bool isResume : false
|
||||||
property bool quitAfter : false
|
property bool quitAfter : false
|
||||||
|
|
||||||
function stageStarting(stage)
|
function stageStarting(stage)
|
||||||
|
|||||||
Reference in New Issue
Block a user