forked from qt-creator/qt-creator
Fix build of sdktool
QStringView::first was introduced in Qt 6.0, use QStringView::left
instead
Amends a8145ff6c9
Change-Id: I6983eb0f35cc6f4887160f1d201a43db0fee361b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -346,7 +346,7 @@ QStringView FilePath::pathWithoutRoot() const
|
||||
|
||||
QStringView FilePath::root() const
|
||||
{
|
||||
return QStringView{m_path}.first(m_rootLen);
|
||||
return QStringView{m_path}.left(m_rootLen);
|
||||
}
|
||||
|
||||
void FilePath::setParts(const QStringView scheme, const QStringView host, const QStringView path)
|
||||
|
||||
Reference in New Issue
Block a user