This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gokdriveclient. from 4482061 reiniting of frame and cursors caches if cache is corrupted. new 275084d support for --debug command line argument. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: client.cpp | 11 +++++++++++ debian/changelog | 1 + 2 files changed, 12 insertions(+) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdriveclient. commit 275084da8297a15d76f4cb8fddeab4eade2f3512 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Fri Sep 17 13:51:12 2021 +0200 support for --debug command line argument. --- client.cpp | 11 +++++++++++ debian/changelog | 1 + 2 files changed, 12 insertions(+) diff --git a/client.cpp b/client.cpp index f04d4ac..9df71f9 100644 --- a/client.cpp +++ b/client.cpp @@ -34,6 +34,9 @@ #include <QBuffer> #include <QMenuBar> #include <QToolBar> +#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0) +#include <QLoggingCategory> +#endif #include "menuframe.h" #include <QHBoxLayout> @@ -511,6 +514,14 @@ void Client::connectToServer() { qDebug()<<args[i]; + if(args[i]=="--debug") + { +#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0) + QLoggingCategory::setFilterRules("default.debug=true"); +#endif + qDebug()<<"Running in debug mode"; + continue; + } if(args[i]=="--connect") { host=args[++i]; diff --git a/debian/changelog b/debian/changelog index ad8c176..4b56a53 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,5 +32,6 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium - include xcb/xproto.h header - use zlib library to decompress compressed strings instead of built in QT function. - reiniting of frame and cursors caches if cache is corrupted. + - support for --debug command line argument. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 04 Jun 2019 11:10:43 +0200 -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git