From 4271cbcaf19e9f9136877400de7621542b1fd70c Mon Sep 17 00:00:00 2001 From: Jonas Rabbe Date: Wed, 20 Jul 2011 15:48:47 +1000 Subject: [PATCH] Changed assert to match uri syntax for Qt 5 declarative modules Change-Id: I27e125694b1d1830db8039d1188c79cd8d6ccb29 Reviewed-on: http://codereview.qt.nokia.com/1861 Reviewed-by: Qt Sanity Bot Reviewed-by: Michael Goddard --- src/imports/multimedia/multimedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imports/multimedia/multimedia.cpp b/src/imports/multimedia/multimedia.cpp index 3cc89e9..eb8e184 100644 --- a/src/imports/multimedia/multimedia.cpp +++ b/src/imports/multimedia/multimedia.cpp @@ -61,7 +61,7 @@ class QMultimediaDeclarativeModule : public QDeclarativeExtensionPlugin public: virtual void registerTypes(const char *uri) { - Q_ASSERT(QLatin1String(uri) == QLatin1String("QtMultimediaKit")); + Q_ASSERT(QLatin1String(uri) == QLatin1String("Qt.multimediakit")); qmlRegisterType(uri, 4, 0, "SoundEffect"); qmlRegisterType(uri, 4, 0, "Audio"); -- 2.7.4