Fix displaying html characters in message boxes

This commit is contained in:
sewe2000 authored and Jonathan White committed 2025-01-12 17:28:51 -05:00
1 parent f3b08102c4
commit 9de623120b
1 file changed
+1
+1
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);