aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/indicator-sound-test-base.cpp')
-rw-r--r--tests/integration/indicator-sound-test-base.cpp4
1 files changed, 4 insertions, 0 deletions
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);