diff options
| author | Karol Kosek <krkk@krkk.ct8.pl> | 2021-04-21 09:28:37 +0200 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-04-21 22:07:17 +0200 |
| commit | 86959d55a041ad9bf113d0f600d8f0ad5e8220c8 (patch) | |
| tree | 2f351226eb54475414c0e2f35abe8402916896bd /lib | |
| parent | 0e3d0b1a5e13f38828f08934c41ed263fa4c1a7d (diff) | |
BrowserTab: accept file drops
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/luis-l-gist/interactiveview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
