mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Fix build for platforms without libopk
This commit is contained in:
@@ -107,9 +107,10 @@ Menu::Menu(GMenu2X *gmenu2x, Touchscreen &ts)
|
||||
Menu::~Menu() {
|
||||
freeLinks();
|
||||
|
||||
for (vector<Monitor *>::iterator it = monitors.begin();
|
||||
it < monitors.end(); it++)
|
||||
delete *it;
|
||||
#ifdef ENABLE_INOTIFY
|
||||
for (auto it : monitors)
|
||||
delete it;
|
||||
#endif
|
||||
}
|
||||
|
||||
void Menu::readSections(std::string parentDir)
|
||||
|
||||
Reference in New Issue
Block a user