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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user