summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-03-27 16:05:23 +0200
committerGitHub <noreply@github.com>2022-03-27 16:05:23 +0200
commitb379df360a4344133625c459e28f45d7061ccc04 (patch)
tree72c56008ab3713da853463d2a74be7fc7efe3e62 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
parent56b5c677c06f714282c2b9464715c68f17d98205 (diff)
parenta4d031cfda477d09c7bb8278adfb2a02edca0159 (diff)
Merge pull request #10497 from martinD2014/master
Change the highlighted button on each window
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
index 87783379b7..d3fc411498 100644
--- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
+++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
@@ -26,6 +26,7 @@
#include "DolphinQt/Config/CheatCodeEditor.h"
#include "DolphinQt/Config/CheatWarningWidget.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
+#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
#include "UICommon/GameFile.h"
@@ -77,10 +78,10 @@ void GeckoCodeWidget::CreateWidgets()
m_code_view->setReadOnly(true);
m_code_view->setFixedHeight(line_height * 10);
- m_add_code = new QPushButton(tr("&Add New Code..."));
- m_edit_code = new QPushButton(tr("&Edit Code..."));
- m_remove_code = new QPushButton(tr("&Remove Code"));
- m_download_codes = new QPushButton(tr("Download Codes"));
+ m_add_code = new NonDefaultQPushButton(tr("&Add New Code..."));
+ m_edit_code = new NonDefaultQPushButton(tr("&Edit Code..."));
+ m_remove_code = new NonDefaultQPushButton(tr("&Remove Code"));
+ m_download_codes = new NonDefaultQPushButton(tr("Download Codes"));
m_download_codes->setToolTip(tr("Download Codes from the WiiRD Database"));