mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
When listing devicekit devices, include drives that only contain a single partition (with no partition table).
Fixes issue 1508
This commit is contained in:
parent
704c87b267
commit
fd35ce8b5d
@ -154,12 +154,11 @@ DeviceKitLister::DeviceData DeviceKitLister::ReadDeviceData(
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Don't do anything with internal drives, hidden drives, or things that
|
||||
// aren't partitions
|
||||
// Don't do anything with internal drives, hidden drives, or partition tables
|
||||
if (device.deviceIsSystemInternal() ||
|
||||
device.devicePresentationHide() ||
|
||||
device.deviceMountPaths().isEmpty() ||
|
||||
!device.deviceIsPartition()) {
|
||||
device.deviceIsPartitionTable()) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user