[X2Go-Commits] [x2godesktopsharing] 03/03: sharetray.cpp: fix misleading if indentation warning.

git-admin at x2go.org git-admin at x2go.org
Mon Nov 12 15:34:05 CET 2018


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

x2go pushed a commit to branch master
in repository x2godesktopsharing.

commit c6dd3077f6e8f57b6357082468b471b53ad9565d
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Nov 12 15:33:34 2018 +0100

    sharetray.cpp: fix misleading if indentation warning.
---
 debian/changelog | 1 +
 sharetray.cpp    | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 896e316..1529988 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ x2godesktopsharing (3.1.1.5-0x2go1) UNRELEASED; urgency=medium
   [ Mihai Moldovan ]
   * New upstream version (3.1.1.5):
     - accessdialog.cpp: fix connect () calls.
+    - sharetray.cpp: fix misleading if indentation warning.
   * x2godesktopsharing.spec:
     + Pull in redhat-rpm-config manually. This should probably be done by
       something else, like... gcc or qmake or qt(4)-dev, but it isn't.
diff --git a/sharetray.cpp b/sharetray.cpp
index a975004..2889f27 100644
--- a/sharetray.cpp
+++ b/sharetray.cpp
@@ -240,8 +240,10 @@ ShareTray::~ShareTray()
 	qDebug() <<"stopping desktop sharing";
 	slotStopSharing();
 	if ( QFile::exists ( lockFname ) )
+	{
 		QFile::remove ( lockFname );
 		qDebug() <<"lock file removed";
+	}
 	saveUserSettings();
 	qDebug() <<"settings saved";
 }

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


More information about the x2go-commits mailing list