DolphinQt/InputCommon: Fix a few memory leaks.

This commit is contained in:
Jordan Woyak
2019-03-17 12:51:50 -05:00
parent 54e09886d8
commit 725d34b2f0
10 changed files with 31 additions and 12 deletions

View File

@ -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,