# HG changeset patch
# User unc0rr
# Date 1171992745 0
# Node ID 3242b42ecad49df624e553bf1a73d641fc8b5303
# Parent 95163c6efa69f9140251e149fbcc107fe7537dcc
QTextBrowser instead of QLabel+QScrollArea
diff -r 95163c6efa69 -r 3242b42ecad4 QTfrontend/about.cpp
--- a/QTfrontend/about.cpp Tue Feb 20 16:58:53 2007 +0000
+++ b/QTfrontend/about.cpp Tue Feb 20 17:32:25 2007 +0000
@@ -19,7 +19,7 @@
#include
#include
#include
-#include
+#include
#include "about.h"
About::About(QWidget * parent) :
@@ -43,10 +43,7 @@
lbl1->setWordWrap(true);
mainLayout->addWidget(lbl1, 0, 1);
- QScrollArea *sa = new QScrollArea(this);
- sa->setWidgetResizable(true);
- sa->setFrameStyle(QFrame::NoFrame);
- QLabel *lbl2 = new QLabel(this);
+ QTextBrowser *lbl2 = new QTextBrowser(this);
lbl2->setOpenExternalLinks(true);
lbl2->setText(
@@ -63,10 +60,7 @@
"Aleksey Andreev <blaknayabr@gmail.com>
"
"Aleksander Rudalev <alexv@pomorsu.ru>
"
"Natasha Stafeeva <layout@pisem.net>"
- "
" +
- QLabel::tr("")
+ ""
);
- lbl2->setWordWrap(true);
- sa->setWidget(lbl2);
- mainLayout->addWidget(sa, 1, 1);
+ mainLayout->addWidget(lbl2, 1, 1);
}