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

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

commit f9072271baa61f438e3bfc13d22242ee9c40b565
Author: Mihai Moldovan <io...@ionic.de>
Date:   Thu Oct 1 01:49:47 2015 +0200

    pulsemanager.cpp: use initializer list for constructor.
---
 debian/changelog     |    1 +
 src/pulsemanager.cpp |   14 +++-----------
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0f40297..eecfcd9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -167,6 +167,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       underscore and name.
     - pulsemanager.cpp: minor non-behavior changing fixes.
     - pulsemanager.{cpp,h}: reformat only.
+    - pulsemanager.cpp: use initializer list for constructor.
 
  -- X2Go Release Manager <git-ad...@x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index 9e70ce6..002c9f8 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -24,9 +24,9 @@
 #define DEBUG
 #endif
 
-PulseManager::PulseManager () {
-  pulse_X2Go_ = "/.x2go/pulse";
-
+PulseManager::PulseManager () : pulse_X2Go_("/.x2go/pulse"), pulse_port_(4713),
+                                state_(QProcess::NotRunning), 
pulse_server_(NULL),
+                                app_dir_(QApplication::applicationDirPath ()) {
   pulse_dir_ = QDir (QDir::homePath ());
   pulse_dir_.mkpath (pulse_dir_.absolutePath () + pulse_X2Go_ + "/tmp");
   pulse_dir_.cd (pulse_X2Go_.mid (1));
@@ -34,14 +34,6 @@ PulseManager::PulseManager () {
   env_ = QProcessEnvironment::systemEnvironment ();
   env_.insert ("HOME", pulse_dir_.absolutePath ());
   env_.insert ("TEMP", pulse_dir_.absolutePath () + "/tmp");
-
-  pulse_port_ = 4713;
-
-  state_ = QProcess::NotRunning;
-
-  pulse_server_ = NULL;
-
-  app_dir_ = QApplication::applicationDirPath ();
 }
 
 PulseManager::~PulseManager () {

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to