1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 04:02:50 +01:00

Fix navigation changes

This commit is contained in:
Elias Steurer 2022-11-02 16:12:26 +01:00
parent e7942430eb
commit 141372bee1
4 changed files with 5 additions and 15 deletions

View File

@ -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"
}

View File

@ -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/")
}

View File

@ -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"

View File

@ -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 {