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

git-admin at x2go.org git-admin at x2go.org
Thu Jun 30 23:53:37 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 7fdb0872df5db57753bdaa6c38cc9bbe438224d7
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 a868eba..20e9c82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -324,6 +324,8 @@ x2goclient (4.0.5.2-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.
   * debian/control:
     - Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
     - Uploaders: add myself. Also, force a rebuild due to the changed
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