summaryrefslogtreecommitdiffstats
path: root/examples/gestures
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gestures')
-rw-r--r--examples/gestures/collidingmice/main.cpp1
-rw-r--r--examples/gestures/graphicsview/main.cpp1
-rw-r--r--examples/gestures/imageviewer/main.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/gestures/collidingmice/main.cpp b/examples/gestures/collidingmice/main.cpp
index e8ef13fa1b..4309bc0deb 100644
--- a/examples/gestures/collidingmice/main.cpp
+++ b/examples/gestures/collidingmice/main.cpp
@@ -123,7 +123,6 @@ private:
int main(int argc, char **argv)
{
QApplication app(argc, argv);
- QApplication::setAttribute(Qt::AA_EnableGestures);
app.addGestureRecognizer(new GestureRecognizerLinjaZax);
qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
//! [0]
diff --git a/examples/gestures/graphicsview/main.cpp b/examples/gestures/graphicsview/main.cpp
index 1a408053a4..5f27a152f4 100644
--- a/examples/gestures/graphicsview/main.cpp
+++ b/examples/gestures/graphicsview/main.cpp
@@ -142,7 +142,6 @@ private:
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
- QApplication::setAttribute(Qt::AA_EnableGestures);
MainWidget w;
w.show();
return app.exec();
diff --git a/examples/gestures/imageviewer/main.cpp b/examples/gestures/imageviewer/main.cpp
index 5494b12362..bddf929687 100644
--- a/examples/gestures/imageviewer/main.cpp
+++ b/examples/gestures/imageviewer/main.cpp
@@ -75,7 +75,6 @@ void MainWidget::openDirectory(const QString &path)
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
- QApplication::setAttribute(Qt::AA_EnableGestures);
MainWidget w;
w.show();