mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-25 18:48:27 +02:00
Removed redundant exists check from Menu::openPackagesFromDir
This commit is contained in:
parent
98f15d7419
commit
23205dc7e6
@ -643,9 +643,6 @@ void Menu::setLinkIndex(int i) {
|
||||
#ifdef HAVE_LIBOPK
|
||||
void Menu::openPackagesFromDir(std::string path)
|
||||
{
|
||||
if (access(path.c_str(), F_OK))
|
||||
return;
|
||||
|
||||
DEBUG("Opening packages from directory: %s\n", path.c_str());
|
||||
readPackages(path);
|
||||
#ifdef ENABLE_INOTIFY
|
||||
|
Loading…
Reference in New Issue
Block a user