diff options
author | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-05-05 20:50:16 +0200 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-06-22 06:09:27 +0000 |
commit | 6a28a2cc34d938417affc96d2495a7e3d2e2b869 (patch) | |
tree | 62d9cd5f914e17b8252875d69658a8780f95f10c /src/gui/opengl | |
parent | 7bc667e5e0d3375fa6b6685121799c8e6d4a37ba (diff) |
xcb: qxcbdrag.cpp cleanups
- moved finding of XdndAware target logic in its own function to
reduce size of QXcbDrag::move().
- switched to use categorized logging with more consistent logging messages
- added more comments to avoid constatly looking at the
specification for the meanings of Xdnd* actions and who
sends/receives the action.
- removed dead code (findXdndAwareParent), which should have been
removed in 269fdbdd2bedda5f5eacb751224d3a3fc3eed5bc when reimplementing
this logic in XCB.
- removed needless reseting of state variables in various places as
this is handled in QXcbDrag::init() on DnD start.
- renamed variable in QXcbDrag::dndEnable(): xdnd_widget -> window
- and other minor cleanups
Change-Id: Ib667f80ceb4c07b7409a90c041044c98665877f3
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions