diff --git a/qml/FolderGridView.qml b/qml/FolderGridView.qml index c618d2b..feae33b 100644 --- a/qml/FolderGridView.qml +++ b/qml/FolderGridView.qml @@ -65,8 +65,6 @@ GridView { property bool scrollDown: false signal keyPress(var event) - signal backPress() - signal forwardPress() cacheBuffer: Math.max(0, control.height * 1.5) reuseItems: true @@ -471,13 +469,6 @@ GridView { onClicked: { clearPressState() - if (mouse.buttons & Qt.BackButton) { - control.backPress() - } - if (mouse.buttons & Qt.ForwardButton){ - control.forwardPress() - } - if (mouse.buttons & Qt.RightButton) { dirModel.openContextMenu(null, mouse.modifiers) } diff --git a/qml/FolderListView.qml b/qml/FolderListView.qml index f2851c6..a2c5b2a 100644 --- a/qml/FolderListView.qml +++ b/qml/FolderListView.qml @@ -52,8 +52,6 @@ ListView { property variant cachedRectangleSelection: null signal keyPress(var event) - signal backPress() - signal forwardPress() clip: true cacheBuffer: width @@ -290,20 +288,12 @@ ListView { dirModel.openContextMenu(null, mouse.modifiers) mouse.accepted = true } - } } onClicked: { clearPressState() - if (mouse.buttons & Qt.BackButton) { - control.backPress() - } - if (mouse.buttons & Qt.ForwardButton){ - control.forwardPress() - } - if (!hoveredItem || hoveredItem.blank || control.currentIndex === -1 || control.ctrlPressed || control.shiftPressed) { return diff --git a/qml/FolderPage.qml b/qml/FolderPage.qml index 8b62741..82d4900 100644 --- a/qml/FolderPage.qml +++ b/qml/FolderPage.qml @@ -337,12 +337,6 @@ Item { onCountChanged: { _fileTips.visible = count === 0 } - onForwardPressed: { - dirModel.goForward(); - } - onBackPressed:{ - dirModel.goBack(); - } } } @@ -362,12 +356,6 @@ Item { onCountChanged: { _fileTips.visible = count === 0 } - onForwardPressed: { - dirModel.goForward(); - } - onBackPressed:{ - dirModel.goBack(); - } delegate: FolderListItem {} }