From 4e89d3b88aabd371ef0b0b10c6a5fc95c8765250 Mon Sep 17 00:00:00 2001 From: Tomasz Kot Date: Tue, 4 Nov 2025 09:48:43 +0000 Subject: dolphinview: On shift+middle-click, open file with third app for the open with list Added the feature to open the selected file with the third application from the associated applications list on shift and middle-click. Generalized the middle-click slot to open the file with the app on a specified index, since the behavior should be almost the same for those two actions. Similar to: d27ee07de7558470ef7b497fbe3d3504ce7cad07 BUG: 510237 --- src/dolphinviewcontainer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index d2d322b08..09413ba55 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -351,7 +351,9 @@ private Q_SLOTS: void slotItemsActivated(const KFileItemList &items); /** - * Handles middle click of file. It opens the file passed using the second application associated with the file's mimetype. + * Handles middle click of file. It opens the file passed using + * the second application associated with the file's mimetype, or + * the third if shift modifier is pressed. */ void slotfileMiddleClickActivated(const KFileItem &item); -- cgit v1.3