┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2022-03-18 19:56:20 +0100
committerKai Uwe Broulik <[email protected]>2022-03-18 19:57:13 +0100
commit3fab07c967461aa68de98345395a57830abb789d (patch)
treeab348de451c710feb54fbf74cc46970c11932651 /src/dolphinmainwindow.h
parentc6bccbf6de33ba907f1cddfa64dadb8cfeea4d2c (diff)
Prettify labels in back/forward button menu
Adds a compact label based on the closes place similar to the address bar (e.g. instead of /home/user/Pictures/Holidays it will show Pictures/Holidays), unless "show full path in address bar" is enabled. Also, add the folder icon
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 1a3ec4efb..fbe926cef 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -653,6 +653,9 @@ private:
*/
bool addHamburgerMenuToToolbar();
+ /** Creates an action representing an item in the URL navigator history */
+ static QAction *urlNavigatorHistoryAction(const KUrlNavigator *urlNavigator, int historyIndex, QObject *parent = nullptr);
+
private:
/**
* Implements a custom error handling for the undo manager. This