Skip to content

Commit

Permalink
[mce-qt] Omit 'Q' prefix from QML type names
Browse files Browse the repository at this point in the history
Names for call state and charger type QML elements include 'Q' prefix
which ought to be used in C++ classes only.

These types were introduced recently and so far have not been used in
qml code and thus the incorrect prefix can be removed without causing
dependency issues.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Oct 9, 2019
1 parent 2da720e commit 22eaefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/qmcedeclarativeplugin.cpp
Expand Up @@ -68,8 +68,8 @@ void QMceDeclarativePlugin::registerTypes(const char* aUri, int aMajor, int aMin
qmlRegisterType<QMceCableState>(aUri, aMajor, aMinor, "MceCableState");
qmlRegisterType<QMceChargerState>(aUri, aMajor, aMinor, "MceChargerState");
qmlRegisterType<QMcePowerSaveMode>(aUri, aMajor, aMinor, "McePowerSaveMode");
qmlRegisterType<QMceCallState>(aUri, aMajor, aMinor, "QMceCallState");
qmlRegisterType<QMceChargerType>(aUri, aMajor, aMinor, "QMceChargerType");
qmlRegisterType<QMceCallState>(aUri, aMajor, aMinor, "MceCallState");
qmlRegisterType<QMceChargerType>(aUri, aMajor, aMinor, "MceChargerType");
}

void QMceDeclarativePlugin::registerTypes(const char* aUri)
Expand Down

0 comments on commit 22eaefd

Please sign in to comment.