aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-25 13:12:13 +0000
committerTarmac <>2012-10-25 13:12:13 +0000
commit4d47b26a31dc1c337b47ded055e5f6613972fc97 (patch)
tree4588bd3f36d65177eb45531a704085bee98db4cb /libqmenumodel
parentfef978ee52b1053e5985a3ea43b1b52f60fe6061 (diff)
parent3c1b2d23cd26b8db37e0c0d96e92cb2156a29fce (diff)
downloadqmenumodel-4d47b26a31dc1c337b47ded055e5f6613972fc97.tar.gz
qmenumodel-4d47b26a31dc1c337b47ded055e5f6613972fc97.tar.bz2
qmenumodel-4d47b26a31dc1c337b47ded055e5f6613972fc97.zip
Changed the 'g_bus_watch_name' flag to auto start the service;. Approved by PS Jenkins bot, Olivier Tilloy.
Diffstat (limited to 'libqmenumodel')
-rw-r--r--libqmenumodel/src/qdbusobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/qdbusobject.cpp b/libqmenumodel/src/qdbusobject.cpp
index 5a5a14b..3748dc8 100644
--- a/libqmenumodel/src/qdbusobject.cpp
+++ b/libqmenumodel/src/qdbusobject.cpp
@@ -156,7 +156,7 @@ void QDBusObject::connect()
GBusType type = m_busType == DBusEnums::SessionBus ? G_BUS_TYPE_SESSION : G_BUS_TYPE_SYSTEM;
m_watchId = g_bus_watch_name (type,
m_busName.toLatin1(),
- G_BUS_NAME_WATCHER_FLAGS_NONE,
+ G_BUS_NAME_WATCHER_FLAGS_AUTO_START,
QDBusObject::onServiceAppeared,
QDBusObject::onServiceVanished,
this,