forked from len0rd/rockbox
Use native path separators when displaying filesystem information.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19430 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8b22f92c1
commit
9b3d46aeeb
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ void Sysinfo::updateSysinfo(void)
|
||||||
QStringList drives = Autodetection::mountpoints();
|
QStringList drives = Autodetection::mountpoints();
|
||||||
for(int i = 0; i < drives.size(); i++) {
|
for(int i = 0; i < drives.size(); i++) {
|
||||||
info += tr("%1, %2 MiB available")
|
info += tr("%1, %2 MiB available")
|
||||||
.arg(drives.at(i))
|
.arg(QDir::toNativeSeparators(drives.at(i)))
|
||||||
.arg(filesystemFree(drives.at(i)) / (1024*1024));
|
.arg(filesystemFree(drives.at(i)) / (1024*1024));
|
||||||
if(i + 1 < drives.size())
|
if(i + 1 < drives.size())
|
||||||
info += "<br/>";
|
info += "<br/>";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue