summaryrefslogtreecommitdiff
path: root/libresourceqt/src/resource-engine.cpp
diff options
context:
space:
mode:
authorJanos Kovacs <janos.f.kovacs@nokia.com>2010-06-07 13:30:20 +0300
committerJanos Kovacs <janos.f.kovacs@nokia.com>2010-06-07 13:30:20 +0300
commit578e49d52769295998dd51d98cca85fe141f3ad0 (patch)
tree9865e9e970029d2ba9d5b4954445c8d624431b18 /libresourceqt/src/resource-engine.cpp
parent3ae4f49e5c1af2146410b5fdfaa04be160d28019 (diff)
downloadlibresourceqt-578e49d52769295998dd51d98cca85fe141f3ad0.tar.gz
use system bus for resource management
Diffstat (limited to 'libresourceqt/src/resource-engine.cpp')
-rw-r--r--libresourceqt/src/resource-engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libresourceqt/src/resource-engine.cpp b/libresourceqt/src/resource-engine.cpp
index e562e47..694d351 100644
--- a/libresourceqt/src/resource-engine.cpp
+++ b/libresourceqt/src/resource-engine.cpp
@@ -58,9 +58,9 @@ bool ResourceEngine::initialize()
if (ResourceEngine::libresourceConnection == NULL) {
dbus_error_init(&dbusError);
- dbusConnection = dbus_bus_get(DBUS_BUS_SESSION, &dbusError);
+ dbusConnection = dbus_bus_get(DBUS_BUS_SYSTEM, &dbusError);
if (dbus_error_is_set(&dbusError)) {
- qDebug("Error getting the session bus: %s", dbusError.message);
+ qDebug("Error getting the system bus: %s", dbusError.message);
dbus_error_free(&dbusError);
return false;
}