forked from qt-creator/qt-creator
Utils: Make getFileAccess static
Change-Id: I6af1ee8be88bf378bd1ddff8fee02005cc9ed6cb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user