From 5906512847b37419890c75c6cdccfff5076a476f Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 16 May 2025 12:55:37 -0500 Subject: DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter. --- Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp index 2c59e86f69..1c1686594e 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp @@ -30,7 +30,6 @@ #include "DolphinQt/Debugger/BreakpointDialog.h" #include "DolphinQt/Debugger/MemoryWidget.h" #include "DolphinQt/Host.h" -#include "DolphinQt/QtUtils/SetWindowDecorations.h" #include "DolphinQt/Resources.h" #include "DolphinQt/Settings.h" @@ -442,7 +441,6 @@ void BreakpointWidget::OnNewBreakpoint() { BreakpointDialog* dialog = new BreakpointDialog(this); dialog->setAttribute(Qt::WA_DeleteOnClose, true); - SetQWidgetWindowDecorations(dialog); dialog->exec(); } @@ -453,7 +451,6 @@ void BreakpointWidget::OnEditBreakpoint(u32 address, bool is_instruction_bp) auto* dialog = new BreakpointDialog( this, m_system.GetPowerPC().GetBreakPoints().GetRegularBreakpoint(address)); dialog->setAttribute(Qt::WA_DeleteOnClose, true); - SetQWidgetWindowDecorations(dialog); dialog->exec(); } else @@ -461,7 +458,6 @@ void BreakpointWidget::OnEditBreakpoint(u32 address, bool is_instruction_bp) auto* dialog = new BreakpointDialog(this, m_system.GetPowerPC().GetMemChecks().GetMemCheck(address)); dialog->setAttribute(Qt::WA_DeleteOnClose, true); - SetQWidgetWindowDecorations(dialog); dialog->exec(); } -- cgit v1.2.3