window: move cleanup code to destructor (closeEvent() isn't called for children)

This commit is contained in:
Arisotura
2025-06-28 03:48:42 +02:00
parent ec2f7ee838
commit baad893bc0
2 changed files with 12 additions and 24 deletions

View File

@ -242,8 +242,6 @@ private slots:
void onScreenEmphasisToggled();
private:
virtual void closeEvent(QCloseEvent* event) override;
QStringList currentROM;
QStringList currentGBAROM;
QList<QString> recentFileList;