[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
Sat Aug 27 19:26:06 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 77cc7bf503a4a979b15880c4216d83e0e15e23e7
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 5c52b24..564c20f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -293,6 +293,7 @@ x2goclient (4.0.5.2-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.
   * 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/onmainwindow.cpp b/src/onmainwindow.cpp
index 870825c..d753c14 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