Add tooltip for hide games option
This commit is contained in:
parent
390544cd9a
commit
949aaaff2a
1 changed files with 5 additions and 0 deletions
|
|
@ -285,6 +285,11 @@ CenteredGridView {
|
||||||
text: qsTr("Hide Game")
|
text: qsTr("Hide Game")
|
||||||
onTriggered: appModel.setAppHidden(model.index, !model.hidden)
|
onTriggered: appModel.setAppHidden(model.index, !model.hidden)
|
||||||
enabled: model.hidden || (!model.running && !model.directLaunch)
|
enabled: model.hidden || (!model.running && !model.directLaunch)
|
||||||
|
|
||||||
|
ToolTip.text: qsTr("Hide this game from the app grid. To access hidden games, right-click on the host and choose %1.").arg(qsTr("View All Apps"))
|
||||||
|
ToolTip.delay: 1000
|
||||||
|
ToolTip.timeout: 5000
|
||||||
|
ToolTip.visible: hovered
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue