From 6245a2ed0f7667fcf3672a3e1af956a35d217ab2 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Thu, 21 Nov 2024 09:15:45 +0100 Subject: [PATCH] Windows: make USB hard drives visible Fixes #759 --- src/lib/libwindisk/windisk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/libwindisk/windisk.cpp b/src/lib/libwindisk/windisk.cpp index 450b32af..f68f8af4 100644 --- a/src/lib/libwindisk/windisk.cpp +++ b/src/lib/libwindisk/windisk.cpp @@ -188,7 +188,7 @@ QVector 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; }