diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-12 20:44:13 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-08-28 20:27:35 +0200 |
commit | 894e629e60e3b399851405effb60cf76ef0e3345 (patch) | |
tree | 8f5d29c1019146d021e1ac0153ac792f1f16cb8a /tests | |
parent | cf69ea46a603557178811c7660fe06b2096e6beb (diff) | |
download | ayatana-indicator-sound-894e629e60e3b399851405effb60cf76ef0e3345.tar.gz ayatana-indicator-sound-894e629e60e3b399851405effb60cf76ef0e3345.tar.bz2 ayatana-indicator-sound-894e629e60e3b399851405effb60cf76ef0e3345.zip |
tests/integration/utils/dbus-pulse-volume.cpp: Use ifdef, not if for testing defined conditional macros.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/utils/dbus-pulse-volume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp index 1912bf5..cdbba6d 100644 --- a/tests/integration/utils/dbus-pulse-volume.cpp +++ b/tests/integration/utils/dbus-pulse-volume.cpp @@ -140,7 +140,7 @@ 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 +#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS QVariant::fromValue(QString("com.ubuntu.AccountsService.Sound")), #else QVariant::fromValue(QString("org.ayatana.AccountsService.Sound")), |