mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Drop incredibly dirty and huge file FastDelegate.h
It's way too over-engineered for what we need to do, and we can do much simpler using C++11.
This commit is contained in:
@@ -198,7 +198,7 @@ void Menu::setSectionIndex(int i) {
|
||||
/*====================================
|
||||
LINKS MANAGEMENT
|
||||
====================================*/
|
||||
bool Menu::addActionLink(uint section, const string &title, LinkRunAction action, const string &description, const string &icon) {
|
||||
bool Menu::addActionLink(uint section, const string &title, function_t action, const string &description, const string &icon) {
|
||||
if (section>=sections.size()) return false;
|
||||
|
||||
Link *link = new Link(gmenu2x, ts, action);
|
||||
|
||||
Reference in New Issue
Block a user