summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptclass_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-02 23:41:16 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-02 23:41:16 (GMT)
commit241a82b99e149d286980e3a8e5bd6ad996d8eb65 (patch)
treeb5af14c6678373eecf9822292d43ee70c1ce8e8e /src/declarative/qml/qmlscriptclass_p.h
parent2ae0680231383800a90d9f4ce7003d64a709659e (diff)
downloadQt-241a82b99e149d286980e3a8e5bd6ad996d8eb65.zip
Qt-241a82b99e149d286980e3a8e5bd6ad996d8eb65.tar.gz
Qt-241a82b99e149d286980e3a8e5bd6ad996d8eb65.tar.bz2
The depot (4.6.2) does not have the Value patch yet, adjust version checks
accordingly.
Diffstat (limited to 'src/declarative/qml/qmlscriptclass_p.h')
-rw-r--r--src/declarative/qml/qmlscriptclass_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlscriptclass_p.h b/src/declarative/qml/qmlscriptclass_p.h
index 7ffb2ae..8064bdc 100644
--- a/src/declarative/qml/qmlscriptclass_p.h
+++ b/src/declarative/qml/qmlscriptclass_p.h
@@ -66,7 +66,7 @@ public:
static QVariant toVariant(QmlEngine *, const QScriptValue &);
-#if (QT_VERSION < QT_VERSION_CHECK(4, 6, 2))
+#if (QT_VERSION <= QT_VERSION_CHECK(4, 6, 2))
struct Value : public QScriptValue {
Value() : QScriptValue() {}
Value(QScriptEngine *engine, int v) : QScriptValue(engine, v) {}