mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-19 02:23:48 -05:00
fixed accept rich text in HelpDialog
This commit is contained in:
parent
0d2798399e
commit
6e1e3f3832
2 changed files with 9 additions and 6 deletions
|
|
@ -69,19 +69,19 @@ HelpDialog::HelpDialog(QWidget *parent) :
|
|||
QFile licenseFile(QLatin1String(":/help/licence.html"));
|
||||
if (licenseFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
QTextStream in(&licenseFile);
|
||||
ui->license->setText(in.readAll());
|
||||
ui->license->setHtml(in.readAll());
|
||||
}
|
||||
|
||||
QFile authorsFile(QLatin1String(":/help/authors.html"));
|
||||
if (authorsFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
QTextStream in(&authorsFile);
|
||||
ui->authors->setText(in.readAll());
|
||||
ui->authors->setHtml(in.readAll());
|
||||
}
|
||||
|
||||
QFile thanksFile(QLatin1String(":/help/thanks.html"));
|
||||
if (thanksFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
QTextStream in(&thanksFile);
|
||||
ui->thanks->setText(in.readAll());
|
||||
ui->thanks->setHtml(in.readAll());
|
||||
}
|
||||
|
||||
ui->version->setText(Rshare::retroshareVersion(true));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue