[kde-doc-english] [trojita] src/Gui: GUI: remove whitespace from the output of gconftool-2
Caspar Schutijser
caspar at schutijser.com
Thu May 9 15:33:34 UTC 2013
Git commit cfaf51df1b7a8484864118a1c974f9e3dd7bb959 by Caspar Schutijser.
Committed on 09/05/2013 at 14:44.
Pushed by jkt into branch 'master'.
GUI: remove whitespace from the output of gconftool-2
M +1 -0 src/Gui/Util.cpp
http://commits.kde.org/trojita/cfaf51df1b7a8484864118a1c974f9e3dd7bb959
diff --git a/src/Gui/Util.cpp b/src/Gui/Util.cpp
index 51a4e5c..d9879cc 100644
--- a/src/Gui/Util.cpp
+++ b/src/Gui/Util.cpp
@@ -165,6 +165,7 @@ QFont systemMonospaceFont()
if (!gconf.waitForFinished())
break;
fontDescription = gconf.readAllStandardOutput();
+ fontDescription = fontDescription.trimmed();
} while (0);
// This value is apparently supposed to be parsed via the pango_font_description_from_string function. We, of course,
More information about the kde-doc-english
mailing list