From ac0adeeda033f318476820d073bfc8612c85e0fb Mon Sep 17 00:00:00 2001 From: AlexandraTrifan Date: Thu, 5 Sep 2024 15:48:29 +0300 Subject: [PATCH] gui/tutorialoverlay.cpp: delete object when the tutorial is done. Signed-off-by: AlexandraTrifan --- gui/src/tutorialoverlay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/src/tutorialoverlay.cpp b/gui/src/tutorialoverlay.cpp index 9d115693f9..216b0a8b58 100644 --- a/gui/src/tutorialoverlay.cpp +++ b/gui/src/tutorialoverlay.cpp @@ -135,6 +135,7 @@ void TutorialOverlay::finish() qInfo(CAT_TUTORIALOVERLAY) << "Tutorial Finished"; overlay->deleteLater(); cleanupChapter(); + deleteLater(); Q_EMIT finished(); }