1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

FileManager: Add "Open with" menu if alternative applications are available

This commit is contained in:
Tom 2020-07-13 18:58:21 -06:00 committed by Andreas Kling
parent 535113bac4
commit 50903fd88c
4 changed files with 129 additions and 21 deletions

View file

@ -106,6 +106,7 @@ public:
virtual ~Action() override;
String text() const { return m_text; }
void set_text(String text) { m_text = move(text); }
Shortcut shortcut() const { return m_shortcut; }
const Gfx::Bitmap* icon() const { return m_icon.ptr(); }
void set_icon(const Gfx::Bitmap*);