Mercurial > retraceit
comparison 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 |
comparison
equal
deleted
inserted
replaced
37:0c05958d254c | 38:26e1521b9afd |
---|---|
77 } | 77 } |
78 | 78 |
79 void MainWindow::closeEvent(QCloseEvent *event) { | 79 void MainWindow::closeEvent(QCloseEvent *event) { |
80 mSettings.setValue("geometry", saveGeometry()); | 80 mSettings.setValue("geometry", saveGeometry()); |
81 mSettings.setValue("windowState", saveState()); | 81 mSettings.setValue("windowState", saveState()); |
82 mPlayer->close(); | |
82 QMainWindow::closeEvent(event); | 83 QMainWindow::closeEvent(event); |
83 } | 84 } |
84 | 85 |
85 void MainWindow::readSettings() { | 86 void MainWindow::readSettings() { |
86 if (mSettings.contains("geometry")) { | 87 if (mSettings.contains("geometry")) { |