mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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
------------------
Commit: 6580c5a54a
Author: Thilo Graf <dbt@novatux.de>
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 is contained in:
@@ -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){
|
||||
|
Reference in New Issue
Block a user