Qt/ModalMessageBox: Use Warning instead of Critical icon for questions
This commit is contained in:
parent
a865cc0bf6
commit
f7e93a6556
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue