mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
CGenericMenuActivate::Activate: tiny optimization
Origin commit data
------------------
Branch: ni/coolstream
Commit: 26efbbccf3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-19 (Sun, 19 Jan 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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