diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-05-16 12:55:37 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-06-07 16:15:34 -0500 |
| commit | 5906512847b37419890c75c6cdccfff5076a476f (patch) | |
| tree | 5e6732d7a0c2cdadf7009e2de926f69a03a7c79f /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | |
| parent | 52fcdde4852ccab197092da37b00548e33844d85 (diff) | |
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; |
