mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Merge pull request #7906 from jordan-woyak/leak-fix
DolphinQt/InputCommon: Fix a few memory leaks.
This commit is contained in:
commit
0a1aacb5d0
10 changed files with 31 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue