diff options
author | Robert Tari <robert@tari.in> | 2021-11-09 23:43:40 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-11-10 00:32:47 +0100 |
commit | 9cb09d85c6b652e0c7c683973a9fce10f8f5209f (patch) | |
tree | b419599d61efaa0bc63bed29b66bd5a855286629 /tests/integration | |
parent | b5989ea9d655339b8d2cdcd35e11478c566007ec (diff) | |
download | ayatana-indicator-sound-9cb09d85c6b652e0c7c683973a9fce10f8f5209f.tar.gz ayatana-indicator-sound-9cb09d85c6b652e0c7c683973a9fce10f8f5209f.tar.bz2 ayatana-indicator-sound-9cb09d85c6b652e0c7c683973a9fce10f8f5209f.zip |
Drop data/org.ayatana.sound.gschema.xml
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/indicator-sound-test-base.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index 45e8acc..3217764 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -179,18 +179,20 @@ bool IndicatorSoundTestBase::clearGSettingsPlayers() bool IndicatorSoundTestBase::resetAllowAmplifiedVolume() { +#if HAS_LOMIRI_SOUND_SCHEMA QProcess proc; proc.start("gsettings", QStringList() << "reset" -#ifdef HAS_LOMIRI_SOUND_SCHEMA + << "com.lomiri.sound" -#else - << "org.ayatana.sound" -#endif + << "allow-amplified-volume"); return runProcess(proc); +#else + return TRUE; +#endif } bool IndicatorSoundTestBase::runProcess(QProcess& proc) |