add third party libs licence infos into about

This commit is contained in:
doitux
2013-10-05 19:34:49 +02:00
parent 38de2754e3
commit b5e8a9ac99
5 changed files with 187 additions and 18 deletions
@@ -131,4 +131,14 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c)
projectText.append("&nbsp;&nbsp;&nbsp;&nbsp;Oskar Lindqvist (<a href=mailto:tranberry@pokerth.net>tranberry@pokerth.net</a>)<br>");
projectText.append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- "+tr("initial gui graphics design")+"<br>");
textBrowser_2->setHtml(projectText);
QFile file(QDir::toNativeSeparators(myAppDataPath+"misc/third_party_libs.txt"));
QString string;
if(file.exists()) {
if (file.open( QIODevice::ReadOnly)) {
QTextStream stream( &file );
string = stream.readAll();
textBrowser_thirdPartyLicenceText->setPlainText(string);
}
}
}