shorten the library label a little bit
authorkoda
Sun, 27 Jan 2013 01:20:50 +0100
changeset 8447 250142acef7b
parent 8445 828cacaa9b24
child 8449 2816230a107e
shorten the library label a little bit
QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp	Sun Jan 27 00:44:31 2013 +0100
+++ b/QTfrontend/ui/widget/about.cpp	Sun Jan 27 01:20:50 2013 +0100
@@ -87,9 +87,9 @@
     QString libinfo = "<style type=text/css>a:link { color: #FFFF6E; }</style>";
 
 #ifdef __GNUC__
-    libinfo.append(QString("Compiler: <a href=\"http://gcc.gnu.org\">GCC</a> %1<br>").arg(__VERSION__));
+    libinfo.append(QString("<a href=\"http://gcc.gnu.org\">GCC</a> %1<br>").arg(__VERSION__));
 #else
-    libinfo.append(QString("Compiler: Unknown<br>").arg(__VERSION__));
+    libinfo.append(QString(tr("Unknown Compiler")).arg(__VERSION__) + QString("<br>"));
 #endif
 
     libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL</a> version: %1.%2.%3<br>")
@@ -115,7 +115,7 @@
     lblLibInfo->setText(libinfo);
     lblLibInfo->setWordWrap(true);
     lblLibInfo->setMaximumWidth(280);
-    leftLayout->addWidget(lblLibInfo, 0, Qt::AlignTop | Qt::AlignHCenter);
+    leftLayout->addWidget(lblLibInfo, 0, Qt::AlignHCenter);
     leftLayout->addStretch(1);
 
     setAcceptDrops(true);