From 828239e919f980ef2f1129d780208c987dada27a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 13 Jan 2018 00:53:18 +0100 Subject: Another HAS_UBUNTU_SOUND_SCHEMA location in the code where we need to hack around Ubuntu's sound schema. --- tests/integration/indicator-sound-test-base.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/integration') diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index 1f10dbe..fcc44ad 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -175,7 +175,11 @@ bool IndicatorSoundTestBase::resetAllowAmplifiedVolume() proc.start("gsettings", QStringList() << "reset" +#ifdef HAS_UBUNTU_SOUND_SCHEMA << "com.ubuntu.sound" +#else + << "org.ayatana.sound" +#endif << "allow-amplified-volume"); return runProcess(proc); -- cgit v1.2.3