diff options
author | Toby Tomkins <toby.tomkins@nokia.com> | 2012-08-10 13:44:29 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-10 07:47:51 +0200 |
commit | d0e34dbc4b0140028c4439a5be4c8fcc90ba79fa (patch) | |
tree | d6188c5d3272f91070c4a2aa1fb5b53ad912adde | |
parent | 5d33f755686ede164f1535d6b3aaaee5fafa8c7f (diff) |
Update import api to follow changes in qtdeclarative.
Changes in 4a8a8953f70197a7ab7a62fcd01b1bc08051689e made to
qtdeclarative require changes to the import api. Follow these changes.
Change-Id: I1c333f915470c5abd792c88704fc3e23a280b05f
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
-rw-r--r-- | src/imports/feedback/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/feedback/plugin.cpp b/src/imports/feedback/plugin.cpp index 34a1d18..9e9499f 100644 --- a/src/imports/feedback/plugin.cpp +++ b/src/imports/feedback/plugin.cpp @@ -75,7 +75,7 @@ public: qmlRegisterType<QDeclarativeFileEffect>(uri, major, minor, "FileEffect"); qmlRegisterType<QDeclarativeHapticsEffect>(uri, major, minor, "HapticsEffect"); qmlRegisterType<QDeclarativeThemeEffect>(uri, major, minor, "ThemeEffect"); - qmlRegisterModuleApi<QDeclarativeThemeEffect>("QtFeedback.ThemeEffect", major, minor, createDeclarativeThemeEfect); + qmlRegisterSingletonType<QDeclarativeThemeEffect>("QtFeedback", major, minor, "EffectPlayer", createDeclarativeThemeEfect); } }; |