summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_win.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-30 16:14:53 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-03 10:26:05 (GMT)
commit54db3afc9797a3adf5a38f35f6338960924e9e1a (patch)
tree7ef984555683aeeba5e8963ae9206786181d08f1 /src/gui/kernel/qwidget_win.cpp
parentb7b4df9c87805be372fa6f74422e0f4648a5d520 (diff)
downloadQt-54db3afc9797a3adf5a38f35f6338960924e9e1a.zip
Qt-54db3afc9797a3adf5a38f35f6338960924e9e1a.tar.gz
Qt-54db3afc9797a3adf5a38f35f6338960924e9e1a.tar.bz2
Implemented pinch gesture recognizer.
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qwidget_win.cpp')
-rw-r--r--src/gui/kernel/qwidget_win.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/kernel/qwidget_win.cpp b/src/gui/kernel/qwidget_win.cpp
index 5bf7649..3a92735 100644
--- a/src/gui/kernel/qwidget_win.cpp
+++ b/src/gui/kernel/qwidget_win.cpp
@@ -2071,17 +2071,6 @@ void QWidgetPrivate::winSetupGestures()
gc[0].dwBlock = GC_PAN;
}
-// gc[1].dwID = GID_ZOOM;
-// if (gestures.pinch)
-// gc[1].dwWant = GC_ZOOM;
-// else
-// gc[1].dwBlock = GC_ZOOM;
-// gc[2].dwID = GID_ROTATE;
-// if (gestures.pinch)
-// gc[2].dwWant = GC_ROTATE;
-// else
-// gc[2].dwBlock = GC_ROTATE;
-
qAppPriv->SetGestureConfig(winid, 0, sizeof(gc)/sizeof(gc[0]), gc, sizeof(gc[0]));
}
}