aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-13 00:53:18 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-13 00:53:18 +0100
commit828239e919f980ef2f1129d780208c987dada27a (patch)
treed0524eb8d6eb4788ee1b64e799cf2bd0d1ad05a9 /tests
parent73262741e8480f6161659275c9d9239e6351d011 (diff)
downloadayatana-indicator-sound-828239e919f980ef2f1129d780208c987dada27a.tar.gz
ayatana-indicator-sound-828239e919f980ef2f1129d780208c987dada27a.tar.bz2
ayatana-indicator-sound-828239e919f980ef2f1129d780208c987dada27a.zip
Another HAS_UBUNTU_SOUND_SCHEMA location in the code where we need to hack around Ubuntu's sound schema.
Diffstat (limited to 'tests')
-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);