[X2Go-Commits] [x2goclient] 156/217: src/onmainwindow.cpp: fix compile error due to misuse of #ifdef.

git-admin at x2go.org git-admin at x2go.org
Wed Sep 21 01:09:23 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 de6f144655dfd13991c1019432a795c3aac4dd3e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri May 6 23:41:52 2016 +0200

    src/onmainwindow.cpp: fix compile error due to misuse of #ifdef.
---
 debian/changelog     |    1 +
 src/onmainwindow.cpp |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0c5017c..0b89295 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -260,6 +260,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       names.
     - src/pulsemanager.cpp: let start () act as a wrapper and do nothing if
       the PA server is already running.
+    - src/onmainwindow.cpp: fix compile error due to misuse of #ifdef.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 971a717..58200c9 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -1517,7 +1517,7 @@ void ONMainWindow::closeClient()
     }
 #endif /* defined (Q_OS_DARWIN) || defined (Q_OS_WIN) */
 
-#ifndef (Q_OS_WIN)
+#ifndef Q_OS_WIN
     if ( userSshd && sshd )
     {
         x2goDebug<<"Terminating the OpenSSH server ...";

--
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