summaryrefslogtreecommitdiffstats
path: root/examples/gestures
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-04-17 13:58:38 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 14:51:48 (GMT)
commitff58f277fdbe83f3ce958dca17da4d90b37d1050 (patch)
treebe2e36f3e0b622b14a919e0063b0f81f118beef7 /examples/gestures
parent6ee2d8e99253a8ae0930fdf81824bfb76a075188 (diff)
downloadQt-ff58f277fdbe83f3ce958dca17da4d90b37d1050.zip
Qt-ff58f277fdbe83f3ce958dca17da4d90b37d1050.tar.gz
Qt-ff58f277fdbe83f3ce958dca17da4d90b37d1050.tar.bz2
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 e8ef13f..4309bc0 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 1a40805..5f27a15 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 5494b12..bddf929 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();