mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
Fix navigation changes
This commit is contained in:
parent
e7942430eb
commit
141372bee1
@ -50,14 +50,6 @@ Item {
|
||||
onTriggered: App.installedListModel.reset()
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onHelperButtonPressed(pos) {
|
||||
setNavigationItem(pos)
|
||||
}
|
||||
|
||||
target: loaderHelp.item
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onInstalledLoadingFinished() {
|
||||
checkIsContentInstalled()
|
||||
@ -74,7 +66,6 @@ Item {
|
||||
Loader {
|
||||
id: loaderHelp
|
||||
active: false
|
||||
z: 99
|
||||
anchors.fill: parent
|
||||
source: "qrc:/qml/ScreenPlayApp/qml/Installed/InstalledWelcomeScreen.qml"
|
||||
}
|
||||
|
@ -7,9 +7,6 @@ import ScreenPlayUtil
|
||||
|
||||
Item {
|
||||
id: installedUserHelper
|
||||
|
||||
signal helperButtonPressed(var pos)
|
||||
|
||||
state: "out"
|
||||
Component.onCompleted: state = "in"
|
||||
|
||||
@ -130,7 +127,7 @@ Item {
|
||||
icon.height: 18
|
||||
onClicked: {
|
||||
if (App.settings.steamVersion) {
|
||||
helperButtonPressed(1)
|
||||
App.util.setNavigation("Workshop")
|
||||
} else {
|
||||
Qt.openUrlExternally("https://forum.screen-play.app/")
|
||||
}
|
||||
|
@ -209,7 +209,6 @@ Item {
|
||||
|
||||
text: qsTr("Headline")
|
||||
font.family: App.settings.font
|
||||
font.weight: Font.Thin
|
||||
verticalAlignment: Text.AlignBottom
|
||||
font.pointSize: 16
|
||||
color: "white"
|
||||
|
@ -5,6 +5,8 @@ import QtQuick.Controls.Material
|
||||
import Qt5Compat.GraphicalEffects
|
||||
import ScreenPlayWorkshop
|
||||
import ScreenPlayUtil
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
Popup {
|
||||
id: root
|
||||
@ -62,6 +64,7 @@ Popup {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
onClicked: {
|
||||
root.close()
|
||||
App.util.setNavigation("Installed")
|
||||
}
|
||||
}
|
||||
Item {
|
||||
|
Loading…
Reference in New Issue
Block a user