summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_activeqt-dumpcpp.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2011-01-24 09:02:51 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2011-01-24 09:02:51 (GMT)
commitb1c715f8214233f5b573ed58fc89c9dd70beabb4 (patch)
treebff329adc8f591e1f600fbe3fc68753bf44e00a6 /doc/src/snippets/code/doc_src_activeqt-dumpcpp.cpp
parent002e3f471025fe4f84d2dd8dd07c440808d7a839 (diff)
downloadQt-b1c715f8214233f5b573ed58fc89c9dd70beabb4.zip
Qt-b1c715f8214233f5b573ed58fc89c9dd70beabb4.tar.gz
Qt-b1c715f8214233f5b573ed58fc89c9dd70beabb4.tar.bz2
Add support for disabling touch on to enhance scrolling in Cocoa
On Mac/Cocoa, enabling touch on a widget slows down the scrolling performance of the whole application. It seems Cocoa spends some time in the background figuring out what to do with the touch events, and whether or not it should convert them to scroll/wheel events. Therefore, it makes sense to no subscribe for touch when the mouse is not over the widget, This patch implements that strategy, and the effect is huge when tested agains creator. Rev-By: brad
Diffstat (limited to 'doc/src/snippets/code/doc_src_activeqt-dumpcpp.cpp')
0 files changed, 0 insertions, 0 deletions