summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-01-20 04:06:17 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-01-20 04:06:17 (GMT)
commit28ec928bfd1bb4fb5bf6fb6a7445db4f52a36a0c (patch)
tree0f72612a7796f4e63648235fa71a30c041acfa5d /src/declarative/qml/qmlengine.cpp
parenta7506ce64ae9e80a202e0ffdaa86785d1d117c78 (diff)
downloadQt-28ec928bfd1bb4fb5bf6fb6a7445db4f52a36a0c.zip
Qt-28ec928bfd1bb4fb5bf6fb6a7445db4f52a36a0c.tar.gz
Qt-28ec928bfd1bb4fb5bf6fb6a7445db4f52a36a0c.tar.bz2
Compile with Qt 4.6.1
Diffstat (limited to 'src/declarative/qml/qmlengine.cpp')
-rw-r--r--src/declarative/qml/qmlengine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index b5e7c2d..122eb07 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -64,6 +64,7 @@
#include "qmlglobal_p.h"
#include "qmlworkerscript_p.h"
#include "qmlcomponent_p.h"
+#include "qmlscriptclass_p.h"
#include <qfxperf_p_p.h>
@@ -1056,9 +1057,8 @@ QVariant QmlEnginePrivate::scriptValueToVariant(const QScriptValue &val)
}
}
-QmlScriptClass::QmlScriptClass(QmlEngine *bindengine)
-: QScriptClass(QmlEnginePrivate::getScriptEngine(bindengine)),
- engine(bindengine)
+QmlScriptClass::QmlScriptClass(QScriptEngine *engine)
+: QScriptDeclarativeClass(engine)
{
}