[X2Go-Commits] [x2goclient] 03/12: helpdialog.cpp: lower font size to have more space for text.

git-admin at x2go.org git-admin at x2go.org
Fri Apr 24 01:32:17 CEST 2015


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

x2go pushed a commit to branch master
in repository x2goclient.

commit a944db8175f05567d1f12188f735637497c73def
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Apr 23 23:27:21 2015 +0200

    helpdialog.cpp: lower font size to have more space for text.
---
 debian/changelog   |    1 +
 src/helpdialog.cpp |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d993c2e..bf69fd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -300,6 +300,7 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
       typewriter font (Qt < 4.7.0 only supports TypeWriter.)
     - x2goutils.{cpp,h}: add new font_is_monospaced() helper.
     - helpdialog.cpp: try harder to set a monospaced font.
+    - helpdialog.cpp: lower font size to have more space for text.
 
   [ Fernando Pedemonte ]
   * New upstream release (4.0.4.0):
diff --git a/src/helpdialog.cpp b/src/helpdialog.cpp
index 4a1936f..d8fe9ad 100644
--- a/src/helpdialog.cpp
+++ b/src/helpdialog.cpp
@@ -45,6 +45,8 @@ void HelpDialog::setText (QString text) {
     }
 
     /* If the font is not monospaced by now, there's not much else we can do... */
+    font.setPointSize (10);
+
     plainTextEdit->setFont (font);
 
     plainTextEdit->setTabStopWidth (30);

--
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