diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-12 13:13:43 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-12 13:13:43 +0100 |
commit | 4fe0753e5a615fc12d3275e5ae891142b3bd47fd (patch) | |
tree | ea4c72e662f172db374c459b4849db558bf5a9b5 /tests/integration/utils/dbus-pulse-volume.cpp | |
parent | 27963fd99ac38eee2477ec6ae6e8d2882959994a (diff) | |
parent | 6c553956fbc31a31b279ff7bc36acbf452b1b387 (diff) | |
download | ayatana-indicator-sound-4fe0753e5a615fc12d3275e5ae891142b3bd47fd.tar.gz ayatana-indicator-sound-4fe0753e5a615fc12d3275e5ae891142b3bd47fd.tar.bz2 ayatana-indicator-sound-4fe0753e5a615fc12d3275e5ae891142b3bd47fd.zip |
Merge branch 'tari01-pr/drop-org-ayatana-accountsservice-sound'
Attributes GH PR #65: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/65
Diffstat (limited to 'tests/integration/utils/dbus-pulse-volume.cpp')
-rw-r--r-- | tests/integration/utils/dbus-pulse-volume.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp index 2338de1..fa3ca3e 100644 --- a/tests/integration/utils/dbus-pulse-volume.cpp +++ b/tests/integration/utils/dbus-pulse-volume.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) 2015 Canonical, Ltd. + * Copyright (C) 2021 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -13,7 +14,9 @@ * You should have received a copy of the GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. * - * Author: Xavi Garcia <xavi.garcia.mena@canonical.com> + * Authors: + * Xavi Garcia <xavi.garcia.mena@canonical.com> + * Robert Tari <robert@tari.in> */ #include "dbus-pulse-volume.h" @@ -140,11 +143,7 @@ bool DBusPulseVolume::setVolume(QString const & role, double volume) { QDBusVariant dbusVar(QVariant::fromValue(volume)); QDBusReply<void> set_vol = accounts_interface_->call(QLatin1String("Set"), -#ifdef HAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS QVariant::fromValue(QString("com.lomiri.AccountsService.Sound")), -#else - QVariant::fromValue(QString("org.ayatana.AccountsService.Sound")), -#endif QVariant::fromValue(QString("Volume")), QVariant::fromValue(dbusVar)); if (!set_vol.isValid()) |