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

git-admin at x2go.org git-admin at x2go.org
Mon Jun 20 23:56:05 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 5ece86b0b758761b8d1f6bc9c305c6dccdf2c959
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 d5588fd..57e859e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -289,6 +289,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>.
 
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 9e0fcda..ec68abe 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