Permalink
Browse files

Qt/GeneralWidget: Add icon and title to the backend switch confirm di…

…alog
  • Loading branch information...
spycrab committed May 29, 2018
1 parent a729c37 commit c07b89792d56063050f42999d52c551259a5edc6
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 c07b897

Please sign in to comment.