1
0
Fork 0
forked from len0rd/rockbox

qeditor: change setting names, they were inconsistent

Change-Id: I47c94520749d0cef1e602c7c62c685a8a3703258
Reviewed-on: http://gerrit.rockbox.org/1000
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
This commit is contained in:
Amaury Pouly 2014-10-02 16:12:14 +02:00
parent dc3ae2aeb9
commit cef5e1018e
3 changed files with 6 additions and 6 deletions

View file

@ -1022,12 +1022,12 @@ bool RegEdit::GetFilename(QString& filename, bool save)
if(save)
fd->setAcceptMode(QFileDialog::AcceptSave);
fd->setFilter("Description files (*.xml);;All files (*)");
fd->setDirectory(Settings::Get()->value("loaddescdir", QDir::currentPath()).toString());
fd->setDirectory(Settings::Get()->value("regedit/loaddescdir", QDir::currentPath()).toString());
if(fd->exec())
{
QStringList filenames = fd->selectedFiles();
filename = filenames[0];
Settings::Get()->setValue("loaddescdir", fd->directory().absolutePath());
Settings::Get()->setValue("regedit/loaddescdir", fd->directory().absolutePath());
return true;
}
else