close fullscreen when closing the app

This commit is contained in:
itsmattkc
2019-01-17 12:45:55 +11:00
parent 0005f592b1
commit 2c5dd22a9c
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -375,6 +375,10 @@ void ViewerWidget::mouseReleaseEvent(QMouseEvent *event) {
dragging = false;
}
void ViewerWidget::close_window() {
if (window != nullptr) window->hide();
}
void ViewerWidget::draw_waveform_func() {
QPainter p(this);
if (viewer->seq->using_workarea) {