mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Rockbox Utility: add Speex license to About dialog.
The Speex codec has a special license requiring it to be reproduced with any distribution. Add the license as a separate tab in the About dialog to satisfy this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30816 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eb97426c76
commit
e28f8225f5
3 changed files with 22 additions and 4 deletions
|
|
@ -293,9 +293,15 @@ void RbUtilQt::about()
|
|||
QFile licence(":/docs/gpl-2.0.html");
|
||||
licence.open(QIODevice::ReadOnly);
|
||||
QTextStream c(&licence);
|
||||
QString cline = c.readAll();
|
||||
about.browserLicense->insertHtml(cline);
|
||||
about.browserLicense->insertHtml(c.readAll());
|
||||
about.browserLicense->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
|
||||
|
||||
QFile speexlicense(":/docs/COPYING.SPEEX");
|
||||
speexlicense.open(QIODevice::ReadOnly);
|
||||
QTextStream s(&speexlicense);
|
||||
about.browserSpeexLicense->insertHtml("<pre>" + s.readAll() + "</pre>");
|
||||
about.browserSpeexLicense->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
|
||||
|
||||
QFile credits(":/docs/CREDITS");
|
||||
credits.open(QIODevice::ReadOnly);
|
||||
QTextStream r(&credits);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue