mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
GUI: fix compilation with Qt < 5.4
This commit is contained in:
parent
5f4b44a045
commit
3aac423af3
@ -18,7 +18,7 @@ CodeOfConductDialog::CodeOfConductDialog(QWidget *parent)
|
||||
|
||||
QFile coc{Q(":/CODE_OF_CONDUCT.md")};
|
||||
if (coc.open(QIODevice::ReadOnly))
|
||||
ui->codeOfConduct->setText(Q(mtx::markdown::to_html(coc.readAll().toStdString())));
|
||||
ui->codeOfConduct->setText(Q(mtx::markdown::to_html(std::string{coc.readAll().constData()})));
|
||||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, this, &CodeOfConductDialog::accept);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user