diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-24 17:04:57 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-24 17:04:57 -0400 |
commit | 050958c58924934b10cf3a6272cff3ebe867f1dd (patch) | |
tree | 817dc9c9806ab0c7d3ce2244c0babe525011a31d /libqmenumodel/QMenuModel | |
parent | 3dd6f6571c033809b16464aba8a32b88051c60eb (diff) | |
download | qmenumodel-050958c58924934b10cf3a6272cff3ebe867f1dd.tar.gz qmenumodel-050958c58924934b10cf3a6272cff3ebe867f1dd.tar.bz2 qmenumodel-050958c58924934b10cf3a6272cff3ebe867f1dd.zip |
Remove unityqmlmenumodel
It was used for calling ::init() on the unitymenumodel when parsing finished
(so that unitymenumodel wouldn't have to implement QQmlParserStatus). Now that
init() is gone, unityqmlmenumodel doesn't serve any purpose.
Diffstat (limited to 'libqmenumodel/QMenuModel')
-rw-r--r-- | libqmenumodel/QMenuModel/plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmenumodel/QMenuModel/plugin.cpp b/libqmenumodel/QMenuModel/plugin.cpp index 0205102..f529c0a 100644 --- a/libqmenumodel/QMenuModel/plugin.cpp +++ b/libqmenumodel/QMenuModel/plugin.cpp @@ -22,7 +22,7 @@ #include "qdbusmenumodel.h" #include "qdbusactiongroup.h" #include "qstateaction.h" -#include "unityqmlmenumodel.h" +#include "unitymenumodel.h" #include <QtQml> @@ -37,5 +37,5 @@ void QMenuModelQmlPlugin::registerTypes(const char *uri) qmlRegisterType<QDBusMenuModel>(uri, 0, 1, "QDBusMenuModel"); qmlRegisterType<QDBusActionGroup>(uri, 0, 1, "QDBusActionGroup"); - qmlRegisterType<UnityQmlMenuModel>(uri, 0, 1, "UnityMenuModel"); + qmlRegisterType<UnityMenuModel>(uri, 0, 1, "UnityMenuModel"); } |