From 46b3909e85c6afe6397b9189e7889c3a457c558b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 31 Dec 2014 13:26:48 +0100 Subject: Remove v8engine dependency from qqmllocale Change-Id: Ib6f51915c5a049592c2958624017eb2f8ad962d8 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmllocale_p.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/qml/qml/qqmllocale_p.h') diff --git a/src/qml/qml/qqmllocale_p.h b/src/qml/qml/qqmllocale_p.h index 744d82a6d2..f294137340 100644 --- a/src/qml/qml/qqmllocale_p.h +++ b/src/qml/qml/qqmllocale_p.h @@ -38,8 +38,7 @@ #include #include -#include - +#include QT_BEGIN_NAMESPACE @@ -110,8 +109,8 @@ public: Saturday = Qt::Saturday }; - static QV4::ReturnedValue locale(QV8Engine *v8engine, const QString &localeName); - static QV4::ReturnedValue wrap(QV8Engine *engine, const QLocale &locale); + static QV4::ReturnedValue locale(QV4::ExecutionEngine *engine, const QString &localeName); + static QV4::ReturnedValue wrap(QV4::ExecutionEngine *engine, const QLocale &locale); static void registerStringLocaleCompare(QV4::ExecutionEngine *engine); -- cgit v1.2.3