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
commit a95b6e1b9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 "