From 638a0663a1a79230a870717e37cb48b9cb61062c Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 3 Jul 2024 18:56:16 +0200 Subject: avoid need for activities lib use KRecentFilesAction like Kate and others to signal used files/dirs could later be used to plug-in a recently used menu, too, if ever wanted avoids that this dependency could be missed and the functionality is not there, too --- src/dolphinmainwindow.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 5f96ca3b6..5f2ed20ca 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -42,6 +42,7 @@ class KFileItem; class KFileItemList; class KJob; class KNewFileMenu; +class KRecentFilesAction; class KToolBarPopupAction; class QToolButton; class PlacesPanel; @@ -759,6 +760,8 @@ private: KIO::CommandLauncherJob *m_job; + KRecentFilesAction *m_recentFiles = nullptr; + friend class DolphinMainWindowTest; }; -- cgit v1.3