D13379: Fix dragging notes
Robert Hoffmann
noreply at phabricator.kde.org
Wed Jun 6 11:34:46 BST 2018
hoffmannrobert created this revision.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: kde-pim.
hoffmannrobert requested review of this revision.
REVISION SUMMARY
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).
REPOSITORY
R208 KNotes
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D13379
AFFECTED FILES
src/notes/knote.cpp
To: hoffmannrobert
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180606/c6d649d5/attachment.html>
More information about the kde-pim
mailing list