1
0
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:
Maarten ter Huurne 2014-08-18 11:44:45 +02:00
parent 98f15d7419
commit 23205dc7e6

View File

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