Merge pull request #7735 from spycrab/qt_modal

Qt: Make more messages modal
This commit is contained in:
Tilka
2019-02-03 01:30:03 +00:00
committed by GitHub
3 changed files with 27 additions and 8 deletions

View File

@ -175,6 +175,7 @@ void GeneralWidget::SaveSettings()
QMessageBox confirm_sw(this);
confirm_sw.setIcon(QMessageBox::Warning);
confirm_sw.setWindowModality(Qt::WindowModal);
confirm_sw.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
confirm_sw.setWindowTitle(tr("Confirm backend change"));
confirm_sw.setText(tr("Software rendering is an order of magnitude slower than using the "