Qt: Prevent crash when closed by the window manager

This commit is contained in:
Simon McFarlane
2015-05-02 23:18:10 -07:00
parent 94995503aa
commit 6474616c83
2 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,7 @@ private slots:
void UpdateIcons();
private:
void closeEvent(QCloseEvent* ce);
std::unique_ptr<Ui::DMainWindow> m_ui;
DGameTracker* m_game_tracker;