forked from qt-creator/qt-creator
Utils: filepathify fileutils
Change-Id: Ic9048369f64d793f5f567cdb0c715488fb5a4ff6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -370,7 +370,7 @@ QFuture<PluginDumper::QmlTypeDescription> PluginDumper::loadQmlTypeDescription(c
|
||||
|
||||
for (const QString &p: paths) {
|
||||
Utils::FileReader reader;
|
||||
if (!reader.fetch(p, QFile::Text)) {
|
||||
if (!reader.fetch(Utils::FilePath::fromString(p), QFile::Text)) {
|
||||
result.errors += reader.errorString();
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user