Commit 8d49c2d0 authored by Max Kellermann's avatar Max Kellermann

neighbor/udisks: show only filesystems, hide raw drives

parent e560f6bc
......@@ -57,7 +57,8 @@ struct UdisksObject {
:path(_path) {}
bool IsValid() const noexcept {
return !drive_id.empty() || !block_id.empty();
return is_filesystem &&
(!drive_id.empty() || !block_id.empty());
}
std::string GetUri() const noexcept {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment