diff -r 404ddce27b23 -r c13ebed437cb QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp Wed Feb 20 02:21:58 2013 +0100
+++ b/QTfrontend/ui/widget/about.cpp Tue Apr 02 21:00:57 2013 +0200
@@ -67,10 +67,11 @@
"a { color: #ffcc00; }"
// "a:hover { color: yellow; }"
""
- "
Hedgewars
"
- "
" + QLabel::tr("Version") + " " + *cVersionString + "
"
+ "
Hedgewars " + *cVersionString + "
"
+ "
" + QLabel::tr("Revision") + " " + *cRevisionString + " (" + *cHashString + ")
"
"
http://www.hedgewars.org/
" +
- QLabel::tr("This program is distributed under the GNU General Public License v2") +
+ QLabel::tr("This program is distributed under the %1").arg("
GNU GPL v2") +
"
"
);
lbl1->setWordWrap(true);
@@ -87,9 +88,9 @@
QString libinfo = "";
#ifdef __GNUC__
- libinfo.append(QString("Compiler:
GCC %1
").arg(__VERSION__));
+ libinfo.append(QString("
GCC %1
").arg(__VERSION__));
#else
- libinfo.append(QString("Compiler: Unknown
").arg(__VERSION__));
+ libinfo.append(QString(tr("Unknown Compiler")).arg(__VERSION__) + QString("
"));
#endif
libinfo.append(QString("
SDL version: %1.%2.%3
")
@@ -112,10 +113,11 @@
.arg(PHYSFS_VER_PATCH));
QLabel * lblLibInfo = new QLabel();
+ lblLibInfo->setOpenExternalLinks(true);
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);