forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/qds/dev'
Conflicts: src/plugins/qmldesigner/components/assetslibrary/assetslibrarymodel.cpp src/plugins/qmldesigner/components/contentlibrary/contentlibrarytexturesmodel.cpp Change-Id: Ieda6242b845387100022b08251283891fb0fbda7
This commit is contained in:
@@ -63,8 +63,8 @@ static const char *qtQuickUISuffix = "ui.qml";
|
||||
|
||||
static void maybeAddPath(ViewerContext &context, const Utils::FilePath &path)
|
||||
{
|
||||
if (!path.isEmpty() && !context.paths.contains(path))
|
||||
context.paths.append(path);
|
||||
if (!path.isEmpty() && !(context.paths.count(path) > 0))
|
||||
context.paths.insert(path);
|
||||
}
|
||||
|
||||
static QList<Utils::FilePath> environmentImportPaths()
|
||||
|
||||
Reference in New Issue
Block a user