From 82e98406f7ffc44baa195a4b1c2c05de33a1b863 Mon Sep 17 00:00:00 2001 From: Matthieu Bachelier Date: Thu, 6 Aug 2015 00:50:17 +0200 Subject: [PATCH] Remove useless quit --- code/MiamPlayer/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/MiamPlayer/mainwindow.cpp b/code/MiamPlayer/mainwindow.cpp index f3e08c27..14755ed8 100644 --- a/code/MiamPlayer/mainwindow.cpp +++ b/code/MiamPlayer/mainwindow.cpp @@ -482,7 +482,6 @@ void MainWindow::changeEvent(QEvent *event) void MainWindow::closeEvent(QCloseEvent *) { auto settings = SettingsPrivate::instance(); - if (settings->playbackKeepPlaylists()) { QList list = settings->lastPlaylistSession(); list.clear(); @@ -502,7 +501,6 @@ void MainWindow::closeEvent(QCloseEvent *) int m = p->mediaPlaylist()->playbackMode(); settings->setValue("lastActivePlaylistMode", m); } - QCoreApplication::quit(); } void MainWindow::dragEnterEvent(QDragEnterEvent *event)