avoid null pointer use

This commit is contained in:
Jacek Jendrzej
2016-04-21 15:29:18 +02:00
parent 49c86a38b4
commit 8fb4e1b78e
6 changed files with 16 additions and 12 deletions

View File

@@ -72,7 +72,6 @@ int CPictureViewerSetup::exec(CMenuTarget* parent, const std::string &actionKey)
if(actionKey == "picturedir")
{
parent->hide();
CFileBrowser b;
b.Dir_Mode=true;
if (b.exec(g_settings.network_nfs_picturedir.c_str()))