diff options
author | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-08 16:25:49 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-08 16:25:49 +0200 |
commit | d2ec6532acec6b555ec43354e3f1ed30bd7501c1 (patch) | |
tree | 8d8868e96b9a77a0009a1103cd7a32340ca79a8c /libqmenumodel | |
parent | bc7eb612da5fb089c84840e8a1fc4bc0f20784ad (diff) | |
download | qmenumodel-d2ec6532acec6b555ec43354e3f1ed30bd7501c1.tar.gz qmenumodel-d2ec6532acec6b555ec43354e3f1ed30bd7501c1.tar.bz2 qmenumodel-d2ec6532acec6b555ec43354e3f1ed30bd7501c1.zip |
Ensure the model is set before advertising the status as 'Connected'.
Diffstat (limited to 'libqmenumodel')
-rw-r--r-- | libqmenumodel/src/qdbusobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/qdbusobject.cpp b/libqmenumodel/src/qdbusobject.cpp index 4ee568f..ecb8ee9 100644 --- a/libqmenumodel/src/qdbusobject.cpp +++ b/libqmenumodel/src/qdbusobject.cpp @@ -180,8 +180,8 @@ void QDBusObject::onServiceAppeared(GDBusConnection *connection, const gchar *, { QDBusObject *self = reinterpret_cast<QDBusObject*>(data); - self->setStatus(DBusEnums::Connected); self->serviceAppear(connection); + self->setStatus(DBusEnums::Connected); } void QDBusObject::onServiceVanished(GDBusConnection *connection, const gchar *, gpointer data) |