Apply patch from Robert Hoffmann

Authored by mlaurent on Jun 6 2018, 11:48 AM.

Description

Apply patch from Robert Hoffmann

Notes did not drag, only when releasing the mouse button,
the note was placed at the new position.

Use QMouseEvent::buttons() to check for buttons pressed
instead of QMouseEvent::button(), which always returns
Qt::NoButton for mouse move events (see documentation).

Differential Revision: https://phabricator.kde.org/D13379

BUG: 358973
FIXED-IN: 5.8.3

Details

Committed
mlaurentJun 6 2018, 11:48 AM
Differential Revision
D13379: Fix dragging notes
Parents
R208:3cc0c1548d78: GIT_SILENT: Prepare 5.8.2
Branches
Unknown
Tags
Unknown