diff --git a/libs/main/system/pihidevice.cpp b/libs/main/system/pihidevice.cpp index 1f654664..13092a94 100644 --- a/libs/main/system/pihidevice.cpp +++ b/libs/main/system/pihidevice.cpp @@ -321,7 +321,7 @@ PIVector PIHIDevice::allDevices(bool try_open) { #ifndef WINDOWS auto readFile = [](const PIString & path) { - auto ba = PIFile::readAll(path, true); + auto ba = PIFile::readAll(path); PIString ret; for (const auto & b: ba) { if (!PIChar(b).isAscii()) break;