From: tobtoht Date: Mon, 23 Oct 2023 17:46:42 +0000 (+0200) Subject: utils: messagebox style fix X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=701e8bc5a15759a3ce544fa32c007c326d134827;p=gamesguru%2Ffeather.git utils: messagebox style fix --- diff --git a/src/utils/Utils.cpp b/src/utils/Utils.cpp index da7d181a..51545dde 100644 --- a/src/utils/Utils.cpp +++ b/src/utils/Utils.cpp @@ -608,7 +608,7 @@ void showMsg(QWidget *parent, QMessageBox::Icon icon, const QString &windowTitle } auto *msgBox = new QMessageBox(parent); - msgBox->setText(title); + msgBox->setText(QString("%1").arg(title)); msgBox->setInformativeText(informativeText); msgBox->setIcon(icon); msgBox->setWindowTitle(windowTitle);