aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/utils')
-rw-r--r--tests/integration/utils/dbus-pulse-volume.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp
index c8b6ae6..1912bf5 100644
--- a/tests/integration/utils/dbus-pulse-volume.cpp
+++ b/tests/integration/utils/dbus-pulse-volume.cpp
@@ -140,7 +140,11 @@ bool DBusPulseVolume::setVolume(QString const & role, double volume)
{
QDBusVariant dbusVar(QVariant::fromValue(volume));
QDBusReply<void> set_vol = accounts_interface_->call(QLatin1String("Set"),
+#if HAS_UT_ACCTSERVICE_SOUND_SETTINGS
QVariant::fromValue(QString("com.ubuntu.AccountsService.Sound")),
+#else
+ QVariant::fromValue(QString("org.ayatana.AccountsService.Sound")),
+#endif
QVariant::fromValue(QString("Volume")),
QVariant::fromValue(dbusVar));
if (!set_vol.isValid())