[X2Go-Commits] [x2goclient] 04/08: x2goutils.cpp: change four spaces per indentation level to two spaces.

git-admin at x2go.org git-admin at x2go.org
Sun Feb 15 00:00:00 CET 2015


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

x2go pushed a commit to branch feature/cleanup
in repository x2goclient.

commit 7b5130ad20de6bbcef90d391f9aa620876584b96
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Feb 14 23:24:41 2015 +0100

    x2goutils.cpp: change four spaces per indentation level to two spaces.
---
 debian/changelog  |    1 +
 src/x2goutils.cpp |   10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b88d3aa..734a7fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -196,6 +196,7 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium
     - Add some debugging output to sessionbuttons/userbutton to see what file
       path is being used as a pixmap (user photo/session icon.)
     - Add myself to copyright section in the x2goutils headers.
+    - Change four spaces per indentation level to two spaces in x2goutils.cpp.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 27 Nov 2014 12:01:43 +0100
 
diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp
index 1dadb3b..8ddad3b 100644
--- a/src/x2goutils.cpp
+++ b/src/x2goutils.cpp
@@ -23,11 +23,11 @@
 
 QString expandHome( QString path )
 {
-    path = path.trimmed();
-    if ( path.startsWith("~/") || path.startsWith("~\\") ) {
-        path = path.replace(QString("~"), QDir::homePath());
-    }
-    return path;
+  path = path.trimmed();
+  if ( path.startsWith("~/") || path.startsWith("~\\") ) {
+      path = path.replace(QString("~"), QDir::homePath());
+  }
+  return path;
 }
 
 QString wrap_legacy_resources (const QString res_path) {

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list