gui/dboxinfo: show remote volumes, too

Origin commit data
------------------
Commit: 535f5dfc67
Author: martii <m4rtii@gmx.de>
Date: 2014-01-04 (Sat, 04 Jan 2014)
This commit is contained in:
martii
2014-01-04 12:13:05 +01:00
committed by vanhofen
parent 3ac5bbc1d5
commit 491c0fe537

View File

@@ -276,10 +276,9 @@ void CDBoxInfoWidget::paint()
std::string line;
while (getline(in, line)) {
if ((line.at(0) != '/') && (line.find("rootfs") != 0))
continue;
size_t firstslash = line.find_first_of('/');
size_t firstspace = line.find_first_of(' ');
if (firstspace != string::npos) {
if ( (firstspace != string::npos && firstslash != string::npos && firstslash < firstspace) || (line.find("rootfs") == 0) ) {
firstspace++;
size_t nextspace = line.find_first_of(' ', firstspace);
if (nextspace == string::npos || line.find("nodev", nextspace + 1) != string::npos)