diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-20 20:16:27 +0200 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-09-20 20:16:27 +0200 |
commit | 913282e093a723b7e3a7bb899a77a068edafcd01 (patch) | |
tree | b6362d98d48b30756abf0f3073db97992edc3e21 /tests/integration/utils | |
parent | 83e68a4d2b9e40d7d4f047a2e58c70c484cbd916 (diff) | |
download | ayatana-indicator-sound-913282e093a723b7e3a7bb899a77a068edafcd01.tar.gz ayatana-indicator-sound-913282e093a723b7e3a7bb899a77a068edafcd01.tar.bz2 ayatana-indicator-sound-913282e093a723b7e3a7bb899a77a068edafcd01.zip |
Updated set-volume utility
Diffstat (limited to 'tests/integration/utils')
-rw-r--r-- | tests/integration/utils/dbus-pulse-volume.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp index 6989754..b42ea15 100644 --- a/tests/integration/utils/dbus-pulse-volume.cpp +++ b/tests/integration/utils/dbus-pulse-volume.cpp @@ -56,9 +56,9 @@ DBusPulseVolume::DBusPulseVolume() : qDebug() << "********************************Connetion: " << connection_string.value().toString(); -// connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer(connection_string.value().toString(), "set-volume"))); + connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer(connection_string.value().toString(), "set-volume"))); - connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer("unix:path=/run/user/1000/pulse/dbus-socket", "set-volume"))); +// connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer("unix:path=/run/user/1000/pulse/dbus-socket", "set-volume"))); qDebug() << "Is connected " << connection_->isConnected(); if (connection_->isConnected()) |