diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-11 12:46:26 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-11 12:46:26 (GMT) |
commit | 0218d8f8dc569db9a1290f595a814c3690c1b14b (patch) | |
tree | dbc01d884f803e52ab9cae6253cf5e18b6a75b43 /examples/multitouch/knobs | |
parent | ecc7f07e612bf156afb7fa2dbcbd2288b9b32e79 (diff) | |
download | Qt-0218d8f8dc569db9a1290f595a814c3690c1b14b.zip Qt-0218d8f8dc569db9a1290f595a814c3690c1b14b.tar.gz Qt-0218d8f8dc569db9a1290f595a814c3690c1b14b.tar.bz2 |
enable touch events on all views if an item has touch enabled
Diffstat (limited to 'examples/multitouch/knobs')
-rw-r--r-- | examples/multitouch/knobs/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/multitouch/knobs/main.cpp b/examples/multitouch/knobs/main.cpp index 8f78cf9..ada57f5 100644 --- a/examples/multitouch/knobs/main.cpp +++ b/examples/multitouch/knobs/main.cpp @@ -50,7 +50,6 @@ int main(int argc, char **argv) QGraphicsScene scene; QGraphicsView view(&scene); - view.viewport()->setAttribute(Qt::WA_AcceptTouchEvents); Knob *knob1 = new Knob; knob1->setPos(-110, 0); |