summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-05 03:46:28 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-05 03:46:28 (GMT)
commit135a035362939b1c80d504e641f7dcb20f33a17b (patch)
tree169217ce34ba93ae225357796060bf3915524161 /tools/qmlviewer
parent8fb2fde2e2474ae2175acdff15e559ed38bb2c38 (diff)
downloadQt-135a035362939b1c80d504e641f7dcb20f33a17b.zip
Qt-135a035362939b1c80d504e641f7dcb20f33a17b.tar.gz
Qt-135a035362939b1c80d504e641f7dcb20f33a17b.tar.bz2
Remove "to" limit on minor version.
QML_DEFINE_TYPE etc. now define just the initial support version, with support in all future versions being thus implied. QTBUG-5421
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r--tools/qmlviewer/qfxtester.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qmlviewer/qfxtester.cpp b/tools/qmlviewer/qfxtester.cpp
index dfa628d..802a927 100644
--- a/tools/qmlviewer/qfxtester.cpp
+++ b/tools/qmlviewer/qfxtester.cpp
@@ -52,10 +52,10 @@
QT_BEGIN_NAMESPACE
-QML_DEFINE_TYPE(Qt.VisualTest, 4, 6, (QT_VERSION&0x00ff00)>>8, VisualTest, QmlGraphicsVisualTest);
-QML_DEFINE_TYPE(Qt.VisualTest, 4, 6, (QT_VERSION&0x00ff00)>>8, Frame, QmlGraphicsVisualTestFrame);
-QML_DEFINE_TYPE(Qt.VisualTest, 4, 6, (QT_VERSION&0x00ff00)>>8, Mouse, QmlGraphicsVisualTestMouse);
-QML_DEFINE_TYPE(Qt.VisualTest, 4, 6, (QT_VERSION&0x00ff00)>>8, Key, QmlGraphicsVisualTestKey);
+QML_DEFINE_TYPE(Qt.VisualTest, 4,6, VisualTest, QmlGraphicsVisualTest);
+QML_DEFINE_TYPE(Qt.VisualTest, 4,6, Frame, QmlGraphicsVisualTestFrame);
+QML_DEFINE_TYPE(Qt.VisualTest, 4,6, Mouse, QmlGraphicsVisualTestMouse);
+QML_DEFINE_TYPE(Qt.VisualTest, 4,6, Key, QmlGraphicsVisualTestKey);
QmlGraphicsTester::QmlGraphicsTester(const QString &script, QmlViewer::ScriptOptions opts,
QmlView *parent)