Check touch device type on TouchEvents
authorromibi <romibi@bluewin.ch>
Sun, 3 Jul 2016 13:36:19 +0000 (15:36 +0200)
committerDaniel Albers <daniel@lbe.rs>
Sun, 3 Jul 2016 18:44:30 +0000 (20:44 +0200)
commit127226e3619358013ef821acdf9e80f615370b12
treed2be3a54c865349e4c2f9e57e24cf159333850e7
parent5b164bbc62960cea62a31287f679197b623ad7ac
Check touch device type on TouchEvents

Check the touch device type to prevent touch pads from being handled as touch
screens.

No check required on TouchUpdate and TouchEnd, because if TouchBegin is not
accepted (return true) no following TouchUpdate/End Events are received.
src/qtui/chatview.cpp
src/uisupport/treeviewtouch.cpp