diff options
Diffstat (limited to 'libqmenumodel/src/qdbusmenumodel.cpp')
-rw-r--r-- | libqmenumodel/src/qdbusmenumodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmenumodel/src/qdbusmenumodel.cpp b/libqmenumodel/src/qdbusmenumodel.cpp index 6d4746c..ae88c35 100644 --- a/libqmenumodel/src/qdbusmenumodel.cpp +++ b/libqmenumodel/src/qdbusmenumodel.cpp @@ -85,7 +85,7 @@ void QDBusMenuModel::stop() /*! \internal */ void QDBusMenuModel::serviceVanish(GDBusConnection *) { - setMenuModel(NULL, true); + setMenuModel(NULL); } /*! \internal */ @@ -94,7 +94,7 @@ void QDBusMenuModel::serviceAppear(GDBusConnection *connection) GMenuModel *model = reinterpret_cast<GMenuModel*>(g_dbus_menu_model_get(connection, busName().toLatin1(), objectPath().toLatin1())); - setMenuModel(model, true); + setMenuModel(model); if (model == NULL) { stop(); } |