summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2009-10-28 12:36:43 (GMT)
committerThomas Zander <t.zander@nokia.com>2009-10-28 12:36:43 (GMT)
commit244d8993c4aac6746306e58b1b766f804e2566f4 (patch)
treed7c799cd225a4e3d27e734f117cc28007df3107d /tests/manual
parent603d3fb41601e9c69e0f2f3afe4b3717b33f75e4 (diff)
downloadQt-244d8993c4aac6746306e58b1b766f804e2566f4.zip
Qt-244d8993c4aac6746306e58b1b766f804e2566f4.tar.gz
Qt-244d8993c4aac6746306e58b1b766f804e2566f4.tar.bz2
Follow refactor; use QApplication:: instead of qApp->
Our tests now call the recently converted registerRecognizer using a proper static method.
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/gestures/graphicsview/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/gestures/graphicsview/main.cpp b/tests/manual/gestures/graphicsview/main.cpp
index e9065eb..de92afe 100644
--- a/tests/manual/gestures/graphicsview/main.cpp
+++ b/tests/manual/gestures/graphicsview/main.cpp
@@ -152,8 +152,8 @@ private:
MainWindow::MainWindow()
{
- (void)qApp->registerGestureRecognizer(new MousePanGestureRecognizer);
- ThreeFingerSlideGesture::Type = qApp->registerGestureRecognizer(new ThreeFingerSlideGestureRecognizer);
+ (void)QApplication::registerGestureRecognizer(new MousePanGestureRecognizer);
+ ThreeFingerSlideGesture::Type = QApplication::registerGestureRecognizer(new ThreeFingerSlideGestureRecognizer);
tabWidget = new QTabWidget;