1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Fix list model name changes

This commit is contained in:
Elias Steurer 2021-02-05 11:12:36 +01:00
parent 3dd2ff0852
commit d4bd50716e
3 changed files with 13 additions and 19 deletions

View File

@ -237,8 +237,8 @@ Drawer {
ToolTip.visible: hovered
ToolTip.text: qsTr("Click here if you like the content")
onClicked: {
SP.Workshop.steamWorkshop.vote(root.publishedFileID,
true)
SP.Workshop.steamWorkshop.vote(
root.publishedFileID, true)
txtVotesUp.highlighted = true
txtVotesDown.highlighted = false
}
@ -251,8 +251,8 @@ Drawer {
ToolTip.visible: hovered
ToolTip.text: qsTr("Click here if you do not like the content")
onClicked: {
SP.Workshop.steamWorkshop.vote(root.publishedFileID,
false)
SP.Workshop.steamWorkshop.vote(
root.publishedFileID, false)
txtVotesUp.highlighted = false
txtVotesDown.highlighted = true
}
@ -283,20 +283,14 @@ Drawer {
Text {
id: txtTags
Layout.alignment: Qt.AlignLeft
property string tags
Layout.fillWidth: true
text: qsTr("Tags: ") + tags
font.pointSize: 11
Behavior on opacity {
NumberAnimation {
duration: 200
}
}
color: Material.secondaryTextColor
font.family: ScreenPlay.settings.font
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
color: Material.secondaryTextColor
wrapMode: Text.WrapAnywhere
elide: Text.ElideRight
property string tags
}
}

View File

@ -187,10 +187,10 @@ Popup {
delegate: UploadProjectItem {
previewImagePath: _absolutePreviewImagePath
progress: _uploadProgress
name: _name
steamStatus: _status
previewImagePath: m_absolutePreviewImagePath
progress: m_uploadProgress
name: m_name
steamStatus: m_status
}
ScrollBar.vertical: ScrollBar {

View File

@ -120,7 +120,7 @@ Item {
Button {
text: qsTr("Open Folder")
onClicked: ScreenPlay.util.openFolderInExplorer(
screenAbsoluteStoragePath)
m_absoluteStoragePath)
anchors {
right: parent.right
bottom: parent.bottom