forked from qt-creator/qt-creator
ResourceEditor: use const reference for QMap argument
Change-Id: I04d2c7de47bc91fd8f6fa355a03fc0d19681f451 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -649,8 +649,8 @@ ResourceFolderNode *SimpleResourceFolderNode::prefixNode() const
|
||||
return m_prefixNode;
|
||||
}
|
||||
|
||||
void SimpleResourceFolderNode::addFilesAndSubfolders(QMap<PrefixFolderLang, QList<ProjectExplorer::FolderNode*> > foldersToAdd,
|
||||
QMap<PrefixFolderLang, QList<ProjectExplorer::Node*> > nodesToAdd,
|
||||
void SimpleResourceFolderNode::addFilesAndSubfolders(const QMap<PrefixFolderLang, QList<ProjectExplorer::FolderNode*> > &foldersToAdd,
|
||||
const QMap<PrefixFolderLang, QList<ProjectExplorer::Node*> > &nodesToAdd,
|
||||
const QString &prefix, const QString &lang)
|
||||
{
|
||||
setNodes(nodesToAdd.value(PrefixFolderLang(prefix, m_folderName, lang)));
|
||||
|
||||
Reference in New Issue
Block a user