utils: messagebox style fix

This commit is contained in:
tobtoht 2023-10-23 19:46:42 +02:00
parent 91f68113d2
commit 701e8bc5a1
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -608,7 +608,7 @@ void showMsg(QWidget *parent, QMessageBox::Icon icon, const QString &windowTitle
} }
auto *msgBox = new QMessageBox(parent); auto *msgBox = new QMessageBox(parent);
msgBox->setText(title); msgBox->setText(QString("<b>%1</b>").arg(title));
msgBox->setInformativeText(informativeText); msgBox->setInformativeText(informativeText);
msgBox->setIcon(icon); msgBox->setIcon(icon);
msgBox->setWindowTitle(windowTitle); msgBox->setWindowTitle(windowTitle);