Utils: Make getFileAccess static

Change-Id: I6af1ee8be88bf378bd1ddff8fee02005cc9ed6cb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-02-01 11:06:35 +01:00
parent 1938926c69
commit 8ed10639b6

View File

@@ -981,7 +981,7 @@ void FilePath::setFromString(QStringView fileNameView)
setParts({}, {}, fileNameView);
}
expected_str<DeviceFileAccess *> getFileAccess(const FilePath &filePath)
static expected_str<DeviceFileAccess *> getFileAccess(const FilePath &filePath)
{
if (!filePath.needsDevice())
return DesktopDeviceFileAccess::instance();