Commit 26af683c authored by Andreas Traczyk's avatar Andreas Traczyk

mainwindow: stop preview before closing the main window

Change-Id: Ibbe60290952b9a546541622f709bbc663aa45a47
parent 17a6d4cd
......@@ -316,6 +316,7 @@ void MainWindow::closeEvent(QCloseEvent* event)
this->hide();
event->ignore();
} else {
LRCInstance::avModel().stopPreview();
settings.setValue(SettingsKey::geometry, saveGeometry());
settings.setValue(SettingsKey::windowState, saveState());
this->disconnect(screenChangedConnection_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment