[X2Go-Commits] [x2goclient] 176/276: src/pulsemanager.cpp: actually only play startup sound if debugging is enabled.
git-admin at x2go.org
git-admin at x2go.org
Sat Dec 31 01:35:12 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 3b4f2a800216576251d7b64f4971b3a8aafcfb99
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Jun 2 04:20:10 2016 +0200
src/pulsemanager.cpp: actually only play startup sound if debugging is enabled.
---
debian/changelog | 2 ++
src/pulsemanager.cpp | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 1dacff0..ca2fe49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -303,6 +303,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
fetch_pulseaudio_version ().
- src/pulsemanager.{cpp,h}: rename on_pulse_finished () to
slot_on_pulse_finished (). Oops...
+ - src/pulsemanager.cpp: actually only play startup sound if debugging is
+ enabled.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index ec08e6f..eec54a0 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -557,7 +557,7 @@ void PulseManager::create_client_dir () {
}
void PulseManager::slot_play_startup_sound () {
- if (!debug_) {
+ if (debug_) {
QProcess play_file (0);
QString play_file_binary (app_dir_);
QString play_file_file (play_file_binary);
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list