GioLister: Remove useless else

This commit is contained in:
Jonas Kvinge 2024-06-12 18:52:33 +02:00
parent ec21a55271
commit a8f1a881ff
1 changed files with 2 additions and 3 deletions

View File

@ -54,9 +54,8 @@ QString GioLister::DeviceInfo::unique_id() const {
if (mount_ptr) {
return QStringLiteral("Gio/%1/%2/%3").arg(mount_uuid, filesystem_type).arg(filesystem_size);
}
else {
return QStringLiteral("Gio/unmounted/%1").arg(reinterpret_cast<qulonglong>(volume_ptr.get()));
}
}