forked from len0rd/rockbox
Note skipped mountpoints to log when populating dropdown list.
Helps in cases the dropdown list doesn't show an expected entry. Change-Id: I7236c6dd8504dc3a6889443efd7de7bcda90b8a3
This commit is contained in:
parent
ee55acdc93
commit
ce714cb023
1 changed files with 3 additions and 0 deletions
|
|
@ -667,6 +667,9 @@ void Config::refreshMountpoint()
|
||||||
.arg((double)Utils::filesystemTotal(mps.at(i))/(1<<30), 0, 'f', 2);
|
.arg((double)Utils::filesystemTotal(mps.at(i))/(1<<30), 0, 'f', 2);
|
||||||
ui.mountPoint->addItem(QDir::toNativeSeparators(mps.at(i)), description);
|
ui.mountPoint->addItem(QDir::toNativeSeparators(mps.at(i)), description);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
qDebug() << "[Config] mountpoint not writable, skipping:" << mps.at(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(!mountpoint.isEmpty()) {
|
if(!mountpoint.isEmpty()) {
|
||||||
setMountpoint(mountpoint);
|
setMountpoint(mountpoint);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue