mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-13 01:26:37 -04:00
Fix displaying html characters in message boxes
This commit is contained in:
parent
0cb89a03ec
commit
048f4c45b3
@ -88,6 +88,7 @@ MessageBox::Button MessageBox::messageBox(QWidget* parent,
|
|||||||
{
|
{
|
||||||
if (m_nextAnswer == MessageBox::NoButton) {
|
if (m_nextAnswer == MessageBox::NoButton) {
|
||||||
QMessageBox msgBox(parent);
|
QMessageBox msgBox(parent);
|
||||||
|
msgBox.setTextFormat(Qt::RichText);
|
||||||
msgBox.setIcon(icon);
|
msgBox.setIcon(icon);
|
||||||
msgBox.setWindowTitle(title);
|
msgBox.setWindowTitle(title);
|
||||||
msgBox.setText(text);
|
msgBox.setText(text);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user