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/Debugger/CodeViewWidget.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/Debugger/CodeViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index 1f5de76ff0..a88a80a945 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -40,7 +40,6 @@ #include "DolphinQt/Debugger/PatchInstructionDialog.h" #include "DolphinQt/Host.h" #include "DolphinQt/QtUtils/FromStdString.h" -#include "DolphinQt/QtUtils/SetWindowDecorations.h" #include "DolphinQt/Resources.h" #include "DolphinQt/Settings.h" @@ -743,7 +742,6 @@ void CodeViewWidget::AutoStep(CodeTrace::AutoStop option) .arg(QString::fromStdString(fmt::format("{:#x}", fmt::join(mem_out, ", ")))); msgbox.setInformativeText(msgtext); - SetQWidgetWindowDecorations(&msgbox); msgbox.exec(); } while (msgbox.clickedButton() == (QAbstractButton*)run_button); @@ -1031,7 +1029,6 @@ void CodeViewWidget::DoPatchInstruction(bool assemble) if (assemble) { AssembleInstructionDialog dialog(this, addr, debug_interface.ReadInstruction(guard, addr)); - SetQWidgetWindowDecorations(&dialog); if (dialog.exec() == QDialog::Accepted) { debug_interface.SetPatch(guard, addr, dialog.GetCode()); @@ -1041,7 +1038,6 @@ void CodeViewWidget::DoPatchInstruction(bool assemble) else { PatchInstructionDialog dialog(this, addr, debug_interface.ReadInstruction(guard, addr)); - SetQWidgetWindowDecorations(&dialog); if (dialog.exec() == QDialog::Accepted) { debug_interface.SetPatch(guard, addr, dialog.GetCode()); |
