1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Unify filedialog and browsedialog code

This commit is contained in:
Lars-Peter Clausen
2010-05-03 19:58:28 +02:00
parent 6361dde213
commit 8b862b8398
16 changed files with 403 additions and 431 deletions

View File

@@ -161,7 +161,7 @@ string Menu::sectionPath(int section) {
/*====================================
LINKS MANAGEMENT
====================================*/
bool Menu::addActionLink(uint section, const string &title, const LinkRunAction &action, const string &description, const string &icon) {
bool Menu::addActionLink(uint section, const string &title, LinkRunAction action, const string &description, const string &icon) {
if (section>=sections.size()) return false;
LinkAction *linkact = new LinkAction(gmenu2x,action);