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

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:25:36 CET 2017


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

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

commit b613baf752c93b4300809648e31aa57e5dc7d824
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 e050dbc..a81b814 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -290,6 +290,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.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 6645679..b34dd92 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