Mercurial > retraceit
diff src/mainwindow.cpp @ 38:26e1521b9afd
Add the possibility to detach the picture label on doubleclick
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 06 May 2015 18:09:34 +0200 |
parents | 40a683d1a318 |
children | 2836b6ed430a |
line wrap: on
line diff
--- a/src/mainwindow.cpp Wed May 06 17:17:13 2015 +0200 +++ b/src/mainwindow.cpp Wed May 06 18:09:34 2015 +0200 @@ -79,6 +79,7 @@ void MainWindow::closeEvent(QCloseEvent *event) { mSettings.setValue("geometry", saveGeometry()); mSettings.setValue("windowState", saveState()); + mPlayer->close(); QMainWindow::closeEvent(event); }