diff --git a/src/libs/utils/filepath.cpp b/src/libs/utils/filepath.cpp index 78e31c235f9..66bdfe3d765 100644 --- a/src/libs/utils/filepath.cpp +++ b/src/libs/utils/filepath.cpp @@ -657,7 +657,7 @@ FileStreamHandle FilePath::asyncWrite(const QByteArray &data, QObject *context, bool FilePath::needsDevice() const { - return m_schemeLen != 0; + return m_schemeLen > 0 && scheme() != u"file"; } bool FilePath::isSameDevice(const FilePath &other) const