Merge pull request #7906 from jordan-woyak/leak-fix

DolphinQt/InputCommon: Fix a few memory leaks.
This commit is contained in:
Tilka 2019-03-21 23:26:54 +00:00 committed by GitHub
commit 0a1aacb5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,