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 22, 2024
1 parent 0e69a17 commit 6245a2e
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 6245a2e

Please sign in to comment.