Filter out root mount even if not filtering out system drives

Ref #158
This commit is contained in:
Floris Bos 2021-02-26 14:53:12 +01:00
parent 8a54544808
commit 2700f61eb9

View file

@ -68,11 +68,10 @@ void DriveListModel::processDriveList(std::vector<Drivelist::DeviceDescriptor> l
{
if (i.isSystem)
continue;
}
// Should already be caught by isSystem variable, but just in case...
if (mountpoints.contains("/") || mountpoints.contains("C://"))
continue;
}
// Skip zero-sized devices
if (i.size == 0)