aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2014-07-11 12:01:41 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2014-07-11 12:01:41 +0200
commit7be80e6fe41518329468dd696abd68b0c190de5a (patch)
treecf300c1b57a5d28495f6d852f434b0ad9e82a6c3
parent018eaeb8b2dc83867dccee516c54499594788ed8 (diff)
downloadqmenumodel-7be80e6fe41518329468dd696abd68b0c190de5a.tar.gz
qmenumodel-7be80e6fe41518329468dd696abd68b0c190de5a.tar.bz2
qmenumodel-7be80e6fe41518329468dd696abd68b0c190de5a.zip
unitymenumodel: notify when the bus name changes
-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 a6ae140..969436f 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -309,6 +309,7 @@ void UnityMenuModel::setBusName(const QByteArray &name)
UnityMenuModelPrivate::nameAppeared, UnityMenuModelPrivate::nameVanished,
priv, NULL);
priv->busName = name;
+ Q_EMIT busNameChanged (priv->busName);
}
QVariantMap UnityMenuModel::actions() const