From 3e0fea43994e0d9d29e5f4fb68b159a7e7286131 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 21 Oct 2016 09:21:39 +0200 Subject: [PATCH] CHintBox: ensure remove timeout bar from screen if hintbox object is closed Timeout bar is not embedded like other cc items in this form, therefor is is better to kill this object explicit from screen otherwise it is possible we hab artefacts after closing of hintbox window. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6580c5a54a3bc4d58f7394b497ef032aca5e1c12 Author: Thilo Graf Date: 2016-10-21 (Fri, 21 Oct 2016) Origin message was: ------------------ CHintBox: ensure remove timeout bar from screen if hintbox object is closed Timeout bar is not embedded like other cc items in this form, therefor is is better to kill this object explicit from screen otherwise it is possible we hab artefacts after closing of hintbox window. ------------------ This commit was generated by Migit --- src/gui/widget/hintbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widget/hintbox.cpp b/src/gui/widget/hintbox.cpp index a75bd1c56..a7e3a7d19 100644 --- a/src/gui/widget/hintbox.cpp +++ b/src/gui/widget/hintbox.cpp @@ -167,6 +167,7 @@ void CHintBox::init(const std::string& Text, const int& Width, const std::string CHintBox::~CHintBox() { if(timeout_pb){ + timeout_pb->kill(); //ensure cleanup from screen delete timeout_pb; timeout_pb = NULL; } if(timeout_pb_timer){