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

@@ -58,7 +58,7 @@ void MenuSettingFile::clear() {
void MenuSettingFile::select() {
FileDialog fd(gmenu2x, description, filter, value());
if (fd.exec()) setValue( fd.path()+"/"+fd.file );
if (fd.exec()) setValue( fd.getPath()+"/"+fd.getFile() );
}
void MenuSettingFile::setValue(const string &value) {