[X2Go-Commits] [x2goclient] 01/03: help.cpp: don't let qCritical() add even more spaces or quotes around the help message.
git-admin at x2go.org
git-admin at x2go.org
Wed Apr 22 23:47:15 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/help-cmd
in repository x2goclient.
commit 28a111df52daaf5c9889f74e2216219763852a24
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Apr 22 22:12:46 2015 +0200
help.cpp: don't let qCritical() add even more spaces or quotes around the help message.
---
debian/changelog | 2 ++
src/help.cpp | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 9396918..b5d72b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -279,6 +279,8 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
before --help for this to work.
- help.cpp: fix splitting algorithm to step over a space character, but
include hyphens correctly into the current line.
+ - help.cpp: don't let qCritical() add even more spaces or quotes around
+ the help message.
[ Fernando Pedemonte ]
* New upstream release (4.0.4.0):
diff --git a/src/help.cpp b/src/help.cpp
index 8a7a715..8eea079 100644
--- a/src/help.cpp
+++ b/src/help.cpp
@@ -260,7 +260,7 @@ QString help::pretty_print (help::data_t data) {
out << "\n";
}
- qCritical () << ret;
+ qCritical ().nospace () << qPrintable (ret);
return (ret);
}
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list