mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
parent
73b9ae764d
commit
2c5432fe7f
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,12 @@ void DriveListModel::refreshDriveList()
|
||||||
if (i.size == 0 || i.isVirtual)
|
if (i.size == 0 || i.isVirtual)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
// Skip time machine backup. FIXME: is this best way to detect them?
|
||||||
|
if (i.mountpointLabels.size() && i.mountpointLabels.front() == "Time Machine Backups")
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
|
|
||||||
QString device = QString::fromStdString(i.device);
|
QString device = QString::fromStdString(i.device);
|
||||||
drivesInNewList.insert(device);
|
drivesInNewList.insert(device);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue