From b24e9f5589c8bbef0356c34fc35df2b81681c70e Mon Sep 17 00:00:00 2001 From: Michael Winkelmann Date: Wed, 16 Oct 2019 00:06:39 +0200 Subject: [PATCH] Remove slot when screen is removed --- app/FullscreenTuningGLView.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/FullscreenTuningGLView.cpp b/app/FullscreenTuningGLView.cpp index d4d80244..345c94e7 100644 --- a/app/FullscreenTuningGLView.cpp +++ b/app/FullscreenTuningGLView.cpp @@ -39,9 +39,6 @@ namespace omni { QWidget::setGeometry(_screen->geometry()); this->hide(); - - connect(QGuiApplication::instance(),SIGNAL(screenRemoved(QScreen*)), - this,SLOT(deleteIfScreenRemoved(QScreen*))); } FullscreenTuningGLView::~FullscreenTuningGLView() {