This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit a01b28261ca3bbce539769978792eba1800be836 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Apr 23 04:11:51 2015 +0200 x2goutils.{cpp,h}: reformat only. --- src/x2goutils.cpp | 15 +++++++-------- src/x2goutils.h | 8 ++++---- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp index f07578e..7bf3d00 100644 --- a/src/x2goutils.cpp +++ b/src/x2goutils.cpp @@ -26,16 +26,15 @@ #include "onmainwindow.h" #include "x2gologdebug.h" -QString expandHome( QString path ) -{ - path = path.trimmed(); - if ( path.startsWith("~/") || path.startsWith("~\\") ) { - path = path.replace(QString("~"), QDir::homePath()); +QString expandHome (QString path) { + path = path.trimmed (); + if (path.startsWith ("~/") || path.startsWith ("~\\")) { + path = path.replace (QString ("~"), QDir::homePath ()); } return path; } -QString fixup_resource_URIs (const QString& res_path) { +QString fixup_resource_URIs (const QString &res_path) { QString ret (res_path); if (!(res_path.isEmpty ())) { @@ -47,7 +46,7 @@ QString fixup_resource_URIs (const QString& res_path) { return (ret); } -QString wrap_legacy_resource_URIs (const QString& res_path) { +QString wrap_legacy_resource_URIs (const QString &res_path) { QString ret (res_path); if (!(res_path.isEmpty ())) { @@ -91,7 +90,7 @@ QString convert_to_rich_text (const QString &text, bool force) { return (fixup_text); } -void show_RichText_WarningMsgBox (const QString& main_text, const QString& informative_text) { +void show_RichText_WarningMsgBox (const QString &main_text, const QString &informative_text) { QString fixup_main_text (convert_to_rich_text (main_text)); QString fixup_informative_text (convert_to_rich_text (informative_text, true)); diff --git a/src/x2goutils.h b/src/x2goutils.h index 6b6f5d0..d87a997 100644 --- a/src/x2goutils.h +++ b/src/x2goutils.h @@ -23,11 +23,11 @@ #define UNUSED(x) do { (void) x; } while (0) -QString expandHome( QString path ); -QString fixup_resource_URIs (const QString& res_path); -QString wrap_legacy_resource_URIs (const QString& res_path); +QString expandHome (QString path); +QString fixup_resource_URIs (const QString &res_path); +QString wrap_legacy_resource_URIs (const QString &res_path); QString convert_to_rich_text (const QString &text, bool force = false); -void show_RichText_WarningMsgBox (const QString& main_text, const QString& informative_text = ""); +void show_RichText_WarningMsgBox (const QString &main_text, const QString &informative_text = ""); QString git_changelog_extract_commit_sha (const QString &gitlog); #endif /* !defined (X2GOUTILS_H) */ -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git