[X2Go-Commits] [x2goclient] 192/239: src/pulsemanager.cpp: fix startup when using the system-PA version.
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 24 23:27:52 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 9ff6d9c02c4684e26dc6acd802ce8e88f4fa1dfc
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Jun 22 04:13:44 2016 +0200
src/pulsemanager.cpp: fix startup when using the system-PA version.
---
debian/changelog | 1 +
src/pulsemanager.cpp | 23 ++++++++++++++---------
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 31cda77..4bbcc93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -324,6 +324,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
Don't just abort () the program.
- src/x2goutils.h: fix compile error due to typo.
- src/pulsemanager.cpp: fix compile error on Windows.
+ - src/pulsemanager.cpp: fix startup when using the system-PA version.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index 1de1cc7..9582027 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -269,15 +269,20 @@ void PulseManager::start_generic () {
void PulseManager::start_osx () {
server_args_ = QStringList ();
server_args_ << "--exit-idle-time=-1" << "-n"
- << "-F" << pulse_dir_.absolutePath () + "/config.pa"
- << "-p"
- << QDir (app_dir_
- + "/../Frameworks/pulse-"
- + QString::number (pulse_version_major_)
- + "."
- + QString::number (pulse_version_minor_)
- + "/modules").absolutePath ()
- << "--high-priority";
+ << "-F" << pulse_dir_.absolutePath () + "/config.pa";
+
+ if (!system_pulse_) {
+ server_args_ << "-p"
+ << QDir (app_dir_
+ + "/../Frameworks/pulse-"
+ + QString::number (pulse_version_major_)
+ + "."
+ + QString::number (pulse_version_minor_)
+ + "/modules").absolutePath ();
+ }
+
+ server_args_ << "--high-priority";
+
if (debug_) {
server_args_ << "--log-level=debug"
<< "--verbose"
--
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