forked from qt-creator/qt-creator
Utils: Introduce FilePath::normalizePathName()
... as wrapper around FileUtils::normalizePathName, and use it in some places. Change-Id: I42792e1f175b8119c8db930eae80a9f822ac70fa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -449,7 +449,7 @@ void ExamplesListModel::parseTutorials(QXmlStreamReader *reader, const QString &
|
||||
static QString resourcePath()
|
||||
{
|
||||
// normalize paths so QML doesn't freak out if it's wrongly capitalized on Windows
|
||||
return Utils::FileUtils::normalizePathName(Core::ICore::resourcePath().toString());
|
||||
return Core::ICore::resourcePath().normalizePathName().toString();
|
||||
}
|
||||
|
||||
void ExamplesListModel::updateExamples()
|
||||
|
||||
Reference in New Issue
Block a user