Qt/ModalMessageBox: Use Warning instead of Critical icon for questions

This commit is contained in:
spycrab 2019-03-06 13:54:43 +01:00
parent a865cc0bf6
commit f7e93a6556
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ int ModalMessageBox::information(QWidget* parent, const QString& title, const QS
int ModalMessageBox::question(QWidget* parent, const QString& title, const QString& text,
StandardButtons buttons, StandardButton default_button)
{
return ExecMessageBox(QMessageBox::Critical, parent, title, text, buttons, default_button);
return ExecMessageBox(QMessageBox::Warning, parent, title, text, buttons, default_button);
}
int ModalMessageBox::warning(QWidget* parent, const QString& title, const QString& text,