summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-08-12 20:04:03 +0200
committerGitHub <noreply@github.com>2023-08-12 20:04:03 +0200
commitdfbc0e33d70a94124cd4a9176d9f544365a66bd2 (patch)
tree7e8958b888a10785a44cff2972b27e7fc5e62622 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
parent44c90aa3fc7e9fe12a87b01a8dcde8e96dac9617 (diff)
parent24012cfc7f396177732e9a8b7d849045a65a5512 (diff)
Merge pull request #12080 from AdmiralCurtiss/windark
Add custom dark theme for Windows.
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
index 124bb20185..988bcf329c 100644
--- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
+++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
@@ -28,6 +28,7 @@
#include "DolphinQt/Config/CheatWarningWidget.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
+#include "DolphinQt/QtUtils/SetWindowDecorations.h"
#include "UICommon/GameFile.h"
@@ -201,6 +202,7 @@ void GeckoCodeWidget::AddCode()
CheatCodeEditor ed(this);
ed.SetGeckoCode(&code);
+ SetQWidgetWindowDecorations(&ed);
if (ed.exec() == QDialog::Rejected)
return;
@@ -219,6 +221,7 @@ void GeckoCodeWidget::EditCode()
CheatCodeEditor ed(this);
ed.SetGeckoCode(&m_gecko_codes[index]);
+ SetQWidgetWindowDecorations(&ed);
if (ed.exec() == QDialog::Rejected)
return;