mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CMovieBrowser: remove hide() from destructor
hide() in constructor could make problems on created moviebrowser instances if gui functionality of moviebrowser is not required, eg if only members are used without gui. Gui parts could be unintended removed from screen. Note: hide() must be called explicit now. I didn't found any problems at the moment, but please report if you found problems, so we can fix it.
This commit is contained in:
@@ -351,7 +351,7 @@ CMovieBrowser::CMovieBrowser(): configfile ('\t')
|
|||||||
CMovieBrowser::~CMovieBrowser()
|
CMovieBrowser::~CMovieBrowser()
|
||||||
{
|
{
|
||||||
//TRACE("[mb] del\n");
|
//TRACE("[mb] del\n");
|
||||||
hide();
|
|
||||||
m_dir.clear();
|
m_dir.clear();
|
||||||
|
|
||||||
m_dirNames.clear();
|
m_dirNames.clear();
|
||||||
|
Reference in New Issue
Block a user