Fix displaying html characters in message boxes

This commit is contained in:
sewe2000 2023-05-15 21:17:23 +02:00 committed by Jonathan White
parent f3b08102c4
commit 9de623120b

View File

@ -88,6 +88,7 @@ MessageBox::Button MessageBox::messageBox(QWidget* parent,
{
if (m_nextAnswer == MessageBox::NoButton) {
QMessageBox msgBox(parent);
msgBox.setTextFormat(Qt::RichText);
msgBox.setIcon(icon);
msgBox.setWindowTitle(title);
msgBox.setText(text);