forked from qt-creator/qt-creator
QmlDesigner: use initializer lists
Change-Id: Ibdc46d30ad3f2b703d4cbdd796a1032030bd17cd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -455,7 +455,7 @@ bool DocumentManager::addResourceFileToIsoProject(const QString &resourceFilePro
|
||||
if (!projectNode)
|
||||
return false;
|
||||
|
||||
if (!projectNode->addFiles(QStringList() << resourceFilePath)) {
|
||||
if (!projectNode->addFiles({resourceFilePath})) {
|
||||
qCWarning(documentManagerLog) << "Failed to add resource file to" << projectNode->displayName();
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user