summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-08-18 18:47:39 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-08-18 18:59:06 +0200
commitce714cb023c6f50bf46b5dd8a056660acaf647f1 (patch)
tree4bda8534f842f93ad2817350d7411e192199ce0f /rbutil/rbutilqt/configure.cpp
parentee55acdc938025f8d97f4f6be7a5a30bf8b8f489 (diff)
downloadrockbox-ce714cb023c6f50bf46b5dd8a056660acaf647f1.tar.gz
rockbox-ce714cb023c6f50bf46b5dd8a056660acaf647f1.tar.bz2
rockbox-ce714cb023c6f50bf46b5dd8a056660acaf647f1.zip
Note skipped mountpoints to log when populating dropdown list.
Helps in cases the dropdown list doesn't show an expected entry. Change-Id: I7236c6dd8504dc3a6889443efd7de7bcda90b8a3
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 8e47ec72fb..acd68aa52d 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -667,6 +667,9 @@ void Config::refreshMountpoint()
.arg((double)Utils::filesystemTotal(mps.at(i))/(1<<30), 0, 'f', 2);
ui.mountPoint->addItem(QDir::toNativeSeparators(mps.at(i)), description);
}
+ else {
+ qDebug() << "[Config] mountpoint not writable, skipping:" << mps.at(i);
+ }
}
if(!mountpoint.isEmpty()) {
setMountpoint(mountpoint);