mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 16:33:42 +02:00
CGenericMenuActivate::Activate: tiny optimization
This commit is contained in:
@@ -49,7 +49,7 @@ class CGenericMenuActivate
|
|||||||
void Clear() { items.clear(); }
|
void Clear() { items.clear(); }
|
||||||
void Activate(bool enable)
|
void Activate(bool enable)
|
||||||
{
|
{
|
||||||
for(std::vector<CMenuItem*>::iterator it = items.begin(); it != items.end(); it++)
|
for(std::vector<CMenuItem*>::iterator it = items.begin(); it != items.end(); ++it)
|
||||||
(*it)->setActive(enable);
|
(*it)->setActive(enable);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user