diff options
-rw-r--r-- | libqmenumodel/src/unitymenumodel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp index a2aae31..8db990b 100644 --- a/libqmenumodel/src/unitymenumodel.cpp +++ b/libqmenumodel/src/unitymenumodel.cpp @@ -292,6 +292,9 @@ QByteArray UnityMenuModel::busName() const void UnityMenuModel::setBusName(const QByteArray &name) { + if (name == priv->busName) + return; + priv->clearName(); if (priv->nameWatchId) |