summaryrefslogtreecommitdiffstats
path: root/examples/gestures
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-17 15:58:38 +0200
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 16:51:48 +0200
commitff58f277fdbe83f3ce958dca17da4d90b37d1050 (patch)
treebe2e36f3e0b622b14a919e0063b0f81f118beef7 /examples/gestures
parent6ee2d8e99253a8ae0930fdf81824bfb76a075188 (diff)
Removed obsolete Qt::AA_EnableGestures attribute from example apps.
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();