From: Kate Alhola Date: Fri, 31 Aug 2012 18:23:28 +0000 (+0300) Subject: fixed gaugeplugin uri X-Git-Url: http://git.maemo.org/git/?p=mardrone;a=commitdiff_plain;h=a680b01f58d572543f9b8b9cf505a5082d55d5bf fixed gaugeplugin uri --- diff --git a/mardrone/gauges/gaugeplugin.cpp b/mardrone/gauges/gaugeplugin.cpp index f62d6f5..d341389 100644 --- a/mardrone/gauges/gaugeplugin.cpp +++ b/mardrone/gauges/gaugeplugin.cpp @@ -15,12 +15,12 @@ class GaugeQmlModule : public QDeclarativeExtensionPlugin public: virtual void registerTypes(const char *uri) { - Q_ASSERT(QString(uri)==QString("gauges")); - qmlRegisterType("gauges", 1, 0, "GaugeTape"); - qmlRegisterType("gauges", 1, 0, "GaugeLabel"); - qmlRegisterType("gauges", 1, 0, "GaugeHorizon"); - qmlRegisterType("gauges", 1, 0, "GaugeArc"); - qmlRegisterType("gauges", 1, 0, "GaugeHSI"); + Q_ASSERT(QString(uri)==QString("Gauges")); + qmlRegisterType(uri, 1, 0, "GaugeTape"); + qmlRegisterType(uri, 1, 0, "GaugeLabel"); + qmlRegisterType(uri, 1, 0, "GaugeHorizon"); + qmlRegisterType(uri, 1, 0, "GaugeArc"); + qmlRegisterType(uri, 1, 0, "GaugeHSI"); } /* void initializeEngine(QQmlEngine *engine, const char *uri) {