┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-09-06 14:24:22 +0200
committerMéven Car <[email protected]>2023-09-06 14:39:15 +0200
commit3aa8cf00ee90b0414fa9b17f01eaade4507c4642 (patch)
tree54407e4f0292c8212d33186e0125d15b417e3349 /src/dolphincontextmenu.h
parent0e4d428e84099bf5d76e81640a2417d5457d83a4 (diff)
Add open containing folder options for files in recentlyused:/
Diffstat (limited to 'src/dolphincontextmenu.h')
-rw-r--r--src/dolphincontextmenu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h
index 04b0697d0..f60be558e 100644
--- a/src/dolphincontextmenu.h
+++ b/src/dolphincontextmenu.h
@@ -95,6 +95,9 @@ private:
void addAdditionalActions(const KFileItemListProperties &props);
private:
+ void addDirectoryItemContextMenu();
+ void addOpenParentFolderActions();
+
struct Entry {
int type;
QString name;
@@ -110,6 +113,7 @@ private:
TrashContext = 2,
TimelineContext = 4,
SearchContext = 8,
+ RecentlyUsedContext = 16,
};
DolphinMainWindow *m_mainWindow;
@@ -126,7 +130,6 @@ private:
KFileCopyToMenu m_copyToMenu;
DolphinRemoveAction *m_removeAction; // Action that represents either 'Move To Trash' or 'Delete'
- void addDirectoryItemContextMenu();
KFileItemActions *m_fileItemActions;
};