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

git-admin at x2go.org git-admin at x2go.org
Wed Sep 21 01:09:34 CEST 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 86f24934d91aab986bba12fe91b3791be3263016
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 f870b72..a7abb27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -293,6 +293,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.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
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