[X2Go-Commits] [x2goclient] 01/01: src/editconnectiondialog.cpp: do not connect signals to slots that do not exist on non-Linux platforms.

git-admin at x2go.org git-admin at x2go.org
Tue Mar 20 02:48:10 CET 2018


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

x2go pushed a commit to branch master
in repository x2goclient.

commit 1f383a9029ba1d1323c370c0deaaba379097c960
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Mar 20 02:47:52 2018 +0100

    src/editconnectiondialog.cpp: do not connect signals to slots that do not exist on non-Linux platforms.
---
 debian/changelog             | 2 ++
 src/editconnectiondialog.cpp | 6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 53fde6a..14b3290 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,8 @@ x2goclient (4.1.2.0-0x2go1) UNRELEASED; urgency=medium
     - config_win.bat: remove plugin references.
     - src/{configdialog.cpp,onmainwindow{.cpp,{,_privat}.h}}: remove plugin
       references.
+    - src/editconnectiondialog.cpp: do not connect signals to slots that do
+      not exist on non-Linux platforms.
   * x2goclient.spec:
     - Remove plugin references.
   * debian/rules:
diff --git a/src/editconnectiondialog.cpp b/src/editconnectiondialog.cpp
index eeb67ba..a556b32 100644
--- a/src/editconnectiondialog.cpp
+++ b/src/editconnectiondialog.cpp
@@ -85,11 +85,13 @@ EditConnectionDialog::EditConnectionDialog ( bool newSession, QString id, QWidge
     connect ( sessSet,SIGNAL ( nameChanged ( const QString & ) ),this,
               SLOT ( slot_changeCaption ( const QString& ) ) );
     connect ( this,SIGNAL ( accepted() ),this,SLOT ( slot_accepted() ) );
+#ifdef Q_OS_LINUX
     connect (sessSet, SIGNAL(directRDP(bool,bool)), this, SLOT(slot_directRDP(bool,bool)));
 
     connect (sessSet,
-	     SIGNAL(settingsChanged(QString,QString,QString)), otherSet,
- 	     SLOT(setServerSettings(QString,QString,QString)));
+             SIGNAL(settingsChanged(QString,QString,QString)), otherSet,
+             SLOT(setServerSettings(QString,QString,QString)));
+#endif
 
     ok->setDefault ( true );
 #ifdef Q_WS_HILDON

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list