aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-09 23:43:40 +0100
committerRobert Tari <robert@tari.in>2021-11-10 00:32:47 +0100
commit9cb09d85c6b652e0c7c683973a9fce10f8f5209f (patch)
treeb419599d61efaa0bc63bed29b66bd5a855286629 /tests/integration
parentb5989ea9d655339b8d2cdcd35e11478c566007ec (diff)
downloadayatana-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.cpp10
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)