Permalink
Browse files

Merge pull request #7018 from spycrab/qt_confirm_dialog

Qt/GeneralWidget: Add icon and title to the backend switch confirm di…
  • Loading branch information...
lioncash committed May 29, 2018
2 parents a729c37 + c07b897 commit 7f6ae322ea7fe9127ab0d0dc4c0849f641c323ea
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp
@@ -181,10 +181,11 @@ void GeneralWidget::SaveSettings()
{
if (backend->GetName() == "Software Renderer")
{
QMessageBox confirm_sw;
QMessageBox confirm_sw(this);
confirm_sw.setIcon(QMessageBox::Warning);
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 "
"other backends.\nIt's only useful for debugging purposes.\nDo you "

0 comments on commit 7f6ae32

Please sign in to comment.