From a680b01f58d572543f9b8b9cf505a5082d55d5bf Mon Sep 17 00:00:00 2001 From: Kate Alhola Date: Fri, 31 Aug 2012 21:23:28 +0300 Subject: [PATCH] fixed gaugeplugin uri --- mardrone/gauges/gaugeplugin.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) { -- 1.7.9.5