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

git-admin at x2go.org git-admin at x2go.org
Mon Nov 12 20:03:02 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 57e192220acf32de7ed5063dd37d80102ff6cc5c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Nov 12 20:02:54 2018 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 41cc6e9..214ee4f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ x2godesktopsharing (3.1.1.5-0x2go1) UNRELEASED; urgency=medium
   * New upstream version (3.1.1.5):
     - accessdialog.cpp: fix connect () calls.
     - sharetray.cpp: fix misleading if indentation warning.
+    - sharetray.cpp: fix another 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 034e4cf..c0e34c2 100644
--- a/sharetray.cpp
+++ b/sharetray.cpp
@@ -518,8 +518,10 @@ void ShareTray::closeEvent ( QCloseEvent*  ev )
 	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