summaryrefslogtreecommitdiffstats
path: root/src/imports/webkit/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/webkit/plugin.cpp')
-rw-r--r--src/imports/webkit/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/webkit/plugin.cpp b/src/imports/webkit/plugin.cpp
index 799fe9e..e3d73ec 100644
--- a/src/imports/webkit/plugin.cpp
+++ b/src/imports/webkit/plugin.cpp
@@ -54,7 +54,7 @@ public:
virtual void registerTypes(const char *uri)
{
Q_ASSERT(QLatin1String(uri) == QLatin1String("org.webkit"));
- QML_REGISTER_NOCREATE_TYPE(QDeclarativeWebSettings);
+ qmlRegisterType<QDeclarativeWebSettings>();
qmlRegisterType<QDeclarativeWebView>(uri,1,0,"WebView");
}
};