This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch bugfix/osx in repository x2goclient. commit a154a6c38107f22053edef8463a48d34f53cc3e3 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Mar 12 05:55:04 2015 +0100 x2goutils.{h,cpp}: use QString references. --- debian/changelog | 1 + src/x2goutils.cpp | 4 ++-- src/x2goutils.h | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index ea8e563..60d759f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -210,6 +210,7 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low - configdialog.cpp: reformat code, add MacPorts and XQuartz references, URL's and installation instructions, don't show outdated version warning when no XQuartz server is installed. Fixes: #792. + - x2goutils.{h,cpp}: use QString references. -- X2Go Release Manager <git-admin@x2go.org> Thu, 19 Feb 2015 13:25:28 +0100 diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp index 61d8d5c..76e8b31 100644 --- a/src/x2goutils.cpp +++ b/src/x2goutils.cpp @@ -30,7 +30,7 @@ QString expandHome( QString path ) 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 ())) { @@ -42,7 +42,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 ())) { diff --git a/src/x2goutils.h b/src/x2goutils.h index 21365da..dc2dc71 100644 --- a/src/x2goutils.h +++ b/src/x2goutils.h @@ -24,8 +24,7 @@ #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 fixup_resource_URIs (const QString& res_path); +QString wrap_legacy_resource_URIs (const QString& res_path); #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