CAudioPlayerSetup: remove redundant parent->hide()

Possible null pointer dereference: parent - otherwise it is redundant
to check it against null.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7e4bdebba1
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-02 (Mon, 02 Dec 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-12-02 21:20:20 +01:00
parent 0b9274876d
commit 0e0008f31d

View File

@@ -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))