[X2Go-Commits] [x2goclient] 04/07: src/onmainwindow.{cpp, h}: remove left-over references to agentCheckTimer and slotCheckAgentProcess ().

git-admin at x2go.org git-admin at x2go.org
Thu Mar 28 11:33:34 CET 2019


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

x2go pushed a commit to branch master
in repository x2goclient.

commit 785d5f8475cdbf6738ca731151a6f8fc15e7f802
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Mar 28 08:09:12 2019 +0100

    src/onmainwindow.{cpp,h}: remove left-over references to agentCheckTimer and slotCheckAgentProcess ().
---
 debian/changelog     | 2 ++
 src/onmainwindow.cpp | 4 ----
 src/onmainwindow.h   | 1 -
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f480bc5..79b0048 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -47,6 +47,8 @@ x2goclient (4.1.2.2-0x2go1) UNRELEASED; urgency=medium
     - src/x2goclient.cpp: do not spawn UNIX cleanup helper if arguments that
       let X2Go Client terminate right away have been passed. More work is
       needed here, but that should cover the most basic bits.
+    - src/onmainwindow.{cpp,h}: remove left-over references to agentCheckTimer
+      and slotCheckAgentProcess ().
   * debian/control:
     + Add build-depend on pkg-config.
   * x2goclient.spec:
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index dbdefaa..f95a81a 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -228,10 +228,6 @@ ONMainWindow::ONMainWindow ( QWidget *parent ) :QMainWindow ( parent )
 #endif
 #endif
 
-    agentCheckTimer=new QTimer ( this );
-    connect ( agentCheckTimer,SIGNAL ( timeout() ),this,
-              SLOT ( slotCheckAgentProcess() ) );
-
 #ifdef CFGCLIENT
     QStringList args;
     if(!X2goSettings::centralSettings())
diff --git a/src/onmainwindow.h b/src/onmainwindow.h
index 3fa35dd..1e2b61a 100644
--- a/src/onmainwindow.h
+++ b/src/onmainwindow.h
@@ -722,7 +722,6 @@ private:
     QString currentKey;
     QTimer *exportTimer;
     QTimer *extTimer;
-    QTimer *agentCheckTimer;
     QTimer *spoolTimer;
     QTimer *proxyWinTimer;
     QTimer *xineramaTimer;

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