Verified Commit 69ff6e6b authored by Jonah Brüchert's avatar Jonah Brüchert 🌳
Browse files

FileChooserMobile: Fix icons

parent 187b5995
...@@ -51,13 +51,15 @@ Item { ...@@ -51,13 +51,15 @@ Item {
main: Kirigami.Action { main: Kirigami.Action {
id: parentFolderButton id: parentFolderButton
tooltip: qsTr("Go to parent folder") tooltip: qsTr("Go to parent folder")
iconName: "go-parent-folder" icon.name: "go-parent-folder"
icon.color: "transparent"
onTriggered: fileModel.folder = fileModel.parentFolder onTriggered: fileModel.folder = fileModel.parentFolder
enabled: fileModel.folder != "file:///" enabled: fileModel.folder != "file:///"
} }
right: Kirigami.Action { right: Kirigami.Action {
tooltip: qsTr("Close") tooltip: qsTr("Close")
iconName: "dialog-close" icon.name: "dialog-close"
icon.color: "transparent"
onTriggered: pageStack.pop() onTriggered: pageStack.pop()
enabled: true enabled: true
} }
...@@ -81,6 +83,7 @@ Item { ...@@ -81,6 +83,7 @@ Item {
reserveSpaceForIcon: true reserveSpaceForIcon: true
icon: (fileIsDir ? "folder" : "text-x-plain") icon: (fileIsDir ? "folder" : "text-x-plain")
iconColor: "transparent"
label: fileName + (fileIsDir ? "/" : "") label: fileName + (fileIsDir ? "/" : "")
onClicked: { onClicked: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment