From 86959d55a041ad9bf113d0f600d8f0ad5e8220c8 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Wed, 21 Apr 2021 09:28:37 +0200 Subject: BrowserTab: accept file drops --- lib/luis-l-gist/interactiveview.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/luis-l-gist/interactiveview.cpp') diff --git a/lib/luis-l-gist/interactiveview.cpp b/lib/luis-l-gist/interactiveview.cpp index 8e0cf97..c6e8228 100644 --- a/lib/luis-l-gist/interactiveview.cpp +++ b/lib/luis-l-gist/interactiveview.cpp @@ -21,6 +21,10 @@ InteractiveView::InteractiveView(QWidget * parent) : panButton = Qt::MiddleButton; zoomKey = Qt::Key_Z; + + /* QGraphicsView turns it on for some reason, + * switching it back off to let BrowserTab handle it -krkk */ + setAcceptDrops(false); } qreal InteractiveView::getScale() const -- cgit v1.2.3