[PATCH 2 of 3] (issue111) Avoid clipping the last charcter in italic font

Wald Commits scm-commit at wald.intevation.org
Mon Sep 15 10:53:26 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1410770424 -7200
# Node ID a0fb21625cf3065c1c607a23fa529ddae345d064
# Parent  03a1f3761f45d751c5268e96768c793c5c8ba3db
(issue111) Avoid clipping the last charcter in italic font.

diff -r 03a1f3761f45 -r a0fb21625cf3 ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Mon Sep 15 10:35:05 2014 +0200
+++ b/ui/mainwindow.cpp	Mon Sep 15 10:40:24 2014 +0200
@@ -878,7 +878,7 @@
             tr("Trust in your digital communication") + QString::fromLatin1("</h3>"));
     QLabel *swVersion = new QLabel(QString::fromLatin1("<i>") +
             tr("Version") + " " + QApplication::applicationVersion() +
-            QString::fromLatin1("</i>"));
+            QString::fromLatin1(" </i>"));
 
     swVersion->setTextInteractionFlags(Qt::TextSelectableByKeyboard | Qt::TextSelectableByMouse);
     swVersion->setTextFormat(Qt::RichText);


More information about the Trustbridge-commits mailing list