From 149225eaf305ce7299bfdc801c1cf96488ef2336 Mon Sep 17 00:00:00 2001 From: q5sys Date: Fri, 16 Jun 2017 09:09:39 -0400 Subject: another crack at openwith menu --- src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h') diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h index 6c63e6aa..c8148e13 100644 --- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h +++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h @@ -45,6 +45,7 @@ public: QString id(); QString currentDir(); QFileSystemModel *dirtreeModel; + QStringList getPreferredApplications(); //View Settings void setShowDetails(bool show); @@ -82,7 +83,7 @@ private: QLineEdit *line_dir; //The context menu and associated items - QMenu *contextMenu, *cNewMenu, *cOpenMenu, *cFModMenu, *cFViewMenu; + QMenu *contextMenu, *cNewMenu, *cOpenMenu, *cFModMenu, *cFViewMenu, *cOpenWithMenu; //The keyboard shortcuts for context menu items QShortcut *kZoomIn, *kZoomOut, *kNewFile, *kNewDir, *kNewXDG, *kCut, *kCopy, *kPaste, *kRename, \ -- cgit