summaryrefslogtreecommitdiff
path: root/Userland/Applications/Presenter/PresenterWidget.h
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2022-12-29 12:23:32 +0100
committerTim Flynn <trflynn89@pm.me>2022-12-29 10:22:49 -0500
commit780d46c42499d085e0d230d02071c675a1c9aa1c (patch)
tree761fee6e52e7721e056a8c04b6d6d1a763d32e83 /Userland/Applications/Presenter/PresenterWidget.h
parentfeb0eb930971c49f2e9626435aa44ea0a01300a1 (diff)
downloadserenity-780d46c42499d085e0d230d02071c675a1c9aa1c.zip
Presenter: Accept file drops
Diffstat (limited to 'Userland/Applications/Presenter/PresenterWidget.h')
-rw-r--r--Userland/Applications/Presenter/PresenterWidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/Presenter/PresenterWidget.h b/Userland/Applications/Presenter/PresenterWidget.h
index af497a6afa..a3a5196748 100644
--- a/Userland/Applications/Presenter/PresenterWidget.h
+++ b/Userland/Applications/Presenter/PresenterWidget.h
@@ -30,6 +30,8 @@ public:
protected:
virtual void paint_event(GUI::PaintEvent&) override;
virtual void keydown_event(GUI::KeyEvent&) override;
+ virtual void drag_enter_event(GUI::DragEvent&) override;
+ virtual void drop_event(GUI::DropEvent&) override;
private:
OwnPtr<Presentation> m_current_presentation;