Merge pull request #7018 from spycrab/qt_confirm_dialog
Qt/GeneralWidget: Add icon and title to the backend switch confirm di…
This commit is contained in:
commit
7f6ae322ea
|
@ -181,10 +181,11 @@ void GeneralWidget::SaveSettings()
|
||||||
{
|
{
|
||||||
if (backend->GetName() == "Software Renderer")
|
if (backend->GetName() == "Software Renderer")
|
||||||
{
|
{
|
||||||
QMessageBox confirm_sw;
|
QMessageBox confirm_sw(this);
|
||||||
|
|
||||||
confirm_sw.setIcon(QMessageBox::Warning);
|
confirm_sw.setIcon(QMessageBox::Warning);
|
||||||
confirm_sw.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
confirm_sw.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||||
|
confirm_sw.setWindowTitle(tr("Confirm backend change"));
|
||||||
confirm_sw.setText(
|
confirm_sw.setText(
|
||||||
tr("Software rendering is an order of magnitude slower than using the "
|
tr("Software rendering is an order of magnitude slower than using the "
|
||||||
"other backends.\nIt's only useful for debugging purposes.\nDo you "
|
"other backends.\nIt's only useful for debugging purposes.\nDo you "
|
||||||
|
|
Loading…
Reference in New Issue