mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CAudioPlayerSetup: remove redundant parent->hide()
Possible null pointer dereference: parent - otherwise it is redundant to check it against null.
This commit is contained in:
@@ -73,7 +73,6 @@ int CAudioPlayerSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
|||||||
|
|
||||||
if(actionKey == "audioplayerdir")
|
if(actionKey == "audioplayerdir")
|
||||||
{
|
{
|
||||||
parent->hide();
|
|
||||||
CFileBrowser b;
|
CFileBrowser b;
|
||||||
b.Dir_Mode=true;
|
b.Dir_Mode=true;
|
||||||
if (b.exec(g_settings.network_nfs_audioplayerdir))
|
if (b.exec(g_settings.network_nfs_audioplayerdir))
|
||||||
|
Reference in New Issue
Block a user