mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-06 11:17:15 +02:00
qt/game_list: Give GameListSearchField::KeyReleaseEater a parent
This fixes a memory leak as KeyReleaseEater's destructor was never called.
This commit is contained in:
parent
09609dd50e
commit
ae6df703f5
2 changed files with 4 additions and 3 deletions
|
|
@ -330,7 +330,7 @@ public:
|
|||
private:
|
||||
class KeyReleaseEater : public QObject {
|
||||
public:
|
||||
explicit KeyReleaseEater(GameList* gamelist);
|
||||
explicit KeyReleaseEater(GameList* gamelist, QObject* parent = nullptr);
|
||||
|
||||
private:
|
||||
GameList* gamelist = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue