summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Widget.cxx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-10-18 01:01:14 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-10-19 11:34:02 +0200
commit0fa25c261ad1bac1303f8a35d89261365bb5d849 (patch)
treebc26f6d6f8143da7678f519c01398eb1164e3f6a /vcl/qt5/Qt5Widget.cxx
parentc8d158c05c2d5be5d387b93d03526bf13a1c767d (diff)
Now that initiating drag works, let's also accept drops
Change-Id: Iab328edd799dd4ce04312db4e640f86a8f7fda77 Reviewed-on: https://gerrit.libreoffice.org/61897 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl/qt5/Qt5Widget.cxx')
-rw-r--r--vcl/qt5/Qt5Widget.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/qt5/Qt5Widget.cxx b/vcl/qt5/Qt5Widget.cxx
index 33b5faf8a9a2..a47aaca8b853 100644
--- a/vcl/qt5/Qt5Widget.cxx
+++ b/vcl/qt5/Qt5Widget.cxx
@@ -193,7 +193,10 @@ void Qt5Widget::dragMoveEvent(QDragMoveEvent* event)
void Qt5Widget::dropEvent(QDropEvent* event)
{
+ QPoint point = event->pos();
SAL_WARN("vcl.qt5", "dropevent");
+
+ m_pFrame->dropping(point.x(), point.y());
QWidget::dropEvent(event);
}