summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2018-05-29 19:27:07 -0400
committerGitHub <noreply@github.com>2018-05-29 19:27:07 -0400
commit7f6ae322ea7fe9127ab0d0dc4c0849f641c323ea (patch)
treed10fed7b43b2b9c746b8175899ac50b2a2b1dae3 /Source/Core
parenta729c375f30499f8857d4dc700ee2eb7234923aa (diff)
parentc07b89792d56063050f42999d52c551259a5edc6 (diff)
Merge pull request #7018 from spycrab/qt_confirm_dialog
Qt/GeneralWidget: Add icon and title to the backend switch confirm di…
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp
index 9164df5257..caff7bc62b 100644
--- a/Source/Core/DolphinQt2/Config/Graphics/GeneralWidget.cpp
+++ b/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 "