[X2Go-Commits] [x2goclient] 07/07: src/onmainwindow.cpp: initialize directRDP to false to be able to call slotSuspendSessFromSt () even if no session has previously been started.

git-admin at x2go.org git-admin at x2go.org
Thu Jan 25 14:53:23 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 7fcf0c8df8930db093ad663ee8cae99d33b36442
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Jan 25 14:25:08 2018 +0100

    src/onmainwindow.cpp: initialize directRDP to false to be able to call slotSuspendSessFromSt () even if no session has previously been started.
---
 debian/changelog     | 2 ++
 src/onmainwindow.cpp | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 434d06e..f595175 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -61,6 +61,8 @@ x2goclient (4.1.1.1-0x2go1) UNRELEASED; urgency=medium
     - src/onmainwindow.{cpp,h}: let close button be a member variable.
     - src/onmainwindow.cpp: disable and enable close button during and after
       connection startup.
+    - src/onmainwindow.cpp: initialize directRDP to false to be able to call
+      slotSuspendSessFromSt () even if no session has previously been started.
 
   [ Oleksandr Shneyder ]
   * New upstream version (4.1.1.1):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 28762c8..23aaefd 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -140,6 +140,7 @@ ONMainWindow::ONMainWindow ( QWidget *parent ) :QMainWindow ( parent )
     systemDisablePA=false;
 #endif /* defined (Q_OS_DARWIN) || defined (Q_OS_WIN) */
 
+    directRDP = false;
 
 // Try to determine the native DPI and use it for the default
     int dpix = QApplication::desktop()->physicalDpiX();

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