[X2Go-Commits] [x2goclient] 176/280: src/pulsemanager.cpp: actually only play startup sound if debugging is enabled.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:25:42 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit d987d6d55031059a90bd07ea4c10474ca12584f2
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 074c1a4..c7fd8ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -323,6 +323,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