Fix remembering hidden state

Prevent SetHiddenInTray() or Exit() from being called again after
qApp->quit() in MainWindow::closeEvent()
This commit is contained in:
Jonas Kvinge
2021-04-16 18:27:24 +02:00
parent c855108b94
commit ae2ca175d3
2 changed files with 11 additions and 5 deletions

View File

@@ -390,6 +390,7 @@ class MainWindow : public QMainWindow, public PlatformInterface {
Song song_;
Song song_playing_;
AlbumCoverImageResult album_cover_;
bool exit_;
int exit_count_;
bool delete_files_;