mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQt/InputCommon: Fix a few memory leaks.
This commit is contained in:
@ -323,7 +323,7 @@ void MainWindow::InitCoreCallbacks()
|
||||
|
||||
static void InstallHotkeyFilter(QWidget* dialog)
|
||||
{
|
||||
auto* filter = new WindowActivationEventFilter();
|
||||
auto* filter = new WindowActivationEventFilter(dialog);
|
||||
dialog->installEventFilter(filter);
|
||||
|
||||
filter->connect(filter, &WindowActivationEventFilter::windowDeactivated,
|
||||
|
Reference in New Issue
Block a user