diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-06-07 18:19:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-07 18:19:13 -0500 |
| commit | 1786e34bd34db61b910064741294e87bfb4d3e91 (patch) | |
| tree | 887f7805e1a35ac5f5d277c1a03392e101f1fb27 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | |
| parent | 65f3ba70f5a88a25eeb7fef143b8e46093e30a7a (diff) | |
| parent | 5906512847b37419890c75c6cdccfff5076a476f (diff) | |
Merge pull request #13665 from jordan-woyak/dark-mode-filter
DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter.
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp index de0f79a904..ddb6d656ff 100644 --- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp @@ -30,7 +30,6 @@ #include "DolphinQt/QtUtils/ModalMessageBox.h" #include "DolphinQt/QtUtils/NonDefaultQPushButton.h" #include "DolphinQt/QtUtils/QtUtils.h" -#include "DolphinQt/QtUtils/SetWindowDecorations.h" #include "DolphinQt/QtUtils/WrapInScrollArea.h" GeckoCodeWidget::GeckoCodeWidget(std::string game_id, std::string gametdb_id, u16 game_revision, @@ -210,7 +209,6 @@ void GeckoCodeWidget::AddCode() code.enabled = true; m_cheat_code_editor->SetGeckoCode(&code); - SetQWidgetWindowDecorations(m_cheat_code_editor); if (m_cheat_code_editor->exec() == QDialog::Rejected) return; @@ -228,7 +226,6 @@ void GeckoCodeWidget::EditCode() const int index = item->data(Qt::UserRole).toInt(); m_cheat_code_editor->SetGeckoCode(&m_gecko_codes[index]); - SetQWidgetWindowDecorations(m_cheat_code_editor); if (m_cheat_code_editor->exec() == QDialog::Rejected) return; |
