mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
- display better values if no user configuration is found
- make it possible to cancel device selection - accept new device path also if it's not selected from the browser and ignore it if it's not a path. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14162 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a31b410868
commit
7aceb93589
3 changed files with 18 additions and 13 deletions
|
|
@ -207,6 +207,8 @@ void RbUtilQt::updateDevice()
|
|||
QString brand = devices->value("brand").toString();
|
||||
QString name = devices->value("name").toString();
|
||||
devices->endGroup();
|
||||
if(name.isEmpty()) name = "<none>";
|
||||
if(mountpoint.isEmpty()) mountpoint = "<invalid>";
|
||||
ui.labelDevice->setText(tr("<b>%1 %2</b> at <b>%3</b>")
|
||||
.arg(brand, name, mountpoint));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue