forked from qt-creator/qt-creator
Utils: Don't check fileAccess before adding Devices
While a device is being added it may not yet have a fileAccess. Change-Id: Ifa37911e4ba95c15b7462e6d63ae1929a99901a3 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -36,8 +36,7 @@ FilePaths FSEngine::registeredDeviceRoots()
|
||||
|
||||
void FSEngine::addDevice(const FilePath &deviceRoot)
|
||||
{
|
||||
if (deviceRoot.hasFileAccess())
|
||||
deviceRoots().append(deviceRoot);
|
||||
deviceRoots().append(deviceRoot);
|
||||
}
|
||||
|
||||
void FSEngine::removeDevice(const FilePath &deviceRoot)
|
||||
|
||||
Reference in New Issue
Block a user