Skip to content

Commit c75969d

Browse files
committed
remove go to parent button
1 parent 23632b0 commit c75969d

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

qml/content/CustomFolderDialog.qml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -81,39 +81,6 @@ Dialog {
8181

8282
id: breadcrumbBarRepeater
8383
}
84-
}
85-
86-
RowLayout {
87-
ToolSeparator {
88-
Layout.fillWidth: true
89-
orientation: Qt.Horizontal
90-
}
91-
}
92-
93-
RowLayout {
94-
Layout.fillWidth: true
95-
spacing: 10
96-
97-
98-
Button {
99-
text: qsTr("Parent folder")
100-
enabled: currentFolder !== "file:///"
101-
onClicked: {
102-
var path = currentFolder.toString().replace("file://", "")
103-
if (path.endsWith("/")) path = path.slice(0, -1)
104-
var parts = path.split("/")
105-
106-
if (parts.length > 1) {
107-
parts.pop() // Go up one folder
108-
} else {
109-
parts = [""] // Ensure root "/"
110-
}
111-
112-
var newPath = "file://" + (parts.join("/") || "/")
113-
currentFolder = newPath
114-
folderModel.folder = currentFolder
115-
}
116-
}
11784

11885
Item {
11986
Layout.fillWidth: true

0 commit comments

Comments
 (0)