From 894e629e60e3b399851405effb60cf76ef0e3345 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 12 Mar 2018 20:44:13 +0000 Subject: tests/integration/utils/dbus-pulse-volume.cpp: Use ifdef, not if for testing defined conditional macros. --- tests/integration/utils/dbus-pulse-volume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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")), -- cgit v1.2.3