summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 47955c93fc..70b7e5fa47 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -293,9 +293,15 @@ void RbUtilQt::about()
293 QFile licence(":/docs/gpl-2.0.html"); 293 QFile licence(":/docs/gpl-2.0.html");
294 licence.open(QIODevice::ReadOnly); 294 licence.open(QIODevice::ReadOnly);
295 QTextStream c(&licence); 295 QTextStream c(&licence);
296 QString cline = c.readAll(); 296 about.browserLicense->insertHtml(c.readAll());
297 about.browserLicense->insertHtml(cline);
298 about.browserLicense->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor); 297 about.browserLicense->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
298
299 QFile speexlicense(":/docs/COPYING.SPEEX");
300 speexlicense.open(QIODevice::ReadOnly);
301 QTextStream s(&speexlicense);
302 about.browserSpeexLicense->insertHtml("<pre>" + s.readAll() + "</pre>");
303 about.browserSpeexLicense->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
304
299 QFile credits(":/docs/CREDITS"); 305 QFile credits(":/docs/CREDITS");
300 credits.open(QIODevice::ReadOnly); 306 credits.open(QIODevice::ReadOnly);
301 QTextStream r(&credits); 307 QTextStream r(&credits);