Skip to content

Commit

Permalink
Windows: make USB hard drives visible
Browse files Browse the repository at this point in the history
Fixes #759
  • Loading branch information
grulja committed Nov 21, 2024
1 parent dd2f3a0 commit a770f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/libwindisk/windisk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ QVector<quint32> WinDiskManagement::getUSBDeviceList()
}
pDiskObject->Release();

if (mediaType != QStringLiteral("Removable Media")) {
if (mediaType != QStringLiteral("Removable Media") && mediaType != QStringLiteral("External hard disk media")) {
logMessage(QtDebugMsg, QStringLiteral("Device with index %1 is not removable").arg(index));
continue;
}
Expand Down

0 comments on commit a770f1d

Please sign in to comment.