Qt: Make more messages modal

This commit is contained in:
spycrab
2019-01-25 16:08:06 +01:00
parent 6962d5bc52
commit 787f2c6bd7
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 "