mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
parent
a96450afbe
commit
84a1ca0f71
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ void DriveListModel::refreshDriveList()
|
|||
continue;
|
||||
}
|
||||
|
||||
// Skip zero-sized and virtual devices
|
||||
if (i.size == 0 || i.isVirtual)
|
||||
continue;
|
||||
|
||||
QString device = QString::fromStdString(i.device);
|
||||
drivesInNewList.insert(device);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue