aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-05 17:47:08 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-05 17:47:08 -0400
commit45ffd9162f48bab8607a426b72b38f937f4b65f3 (patch)
tree9bd1fe89ac3804f749ec577ca93334a556aaf9e9 /libqmenumodel
parent7892fd969906e6e695c4389a893249181a31d590 (diff)
downloadqmenumodel-45ffd9162f48bab8607a426b72b38f937f4b65f3.tar.gz
qmenumodel-45ffd9162f48bab8607a426b72b38f937f4b65f3.tar.bz2
qmenumodel-45ffd9162f48bab8607a426b72b38f937f4b65f3.zip
unitymenumodel: call init in the the constructor that is meant to be used from c++
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/unitymenumodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp
index 130b73b..45cb9c4 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -287,6 +287,7 @@ UnityMenuModel::UnityMenuModel(const QByteArray &busName,
QAbstractListModel(parent),
priv(NULL)
{
+ init(busName, actionGroupObjectPath, menuObjectPath);
}
void UnityMenuModel::init(const QByteArray &busName, const QByteArray &actionGroupObjectPath, const QByteArray &menuObjectPath)