Commit a54353f3 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

ResourceEditor: Pass const string by reference



Change-Id: I54f998ad99a509077386649309469a8dc922349f
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 2df6d1c4
......@@ -341,7 +341,7 @@ void ResourceFile::replaceAlias(int prefix_idx, int file_idx, const QString &ali
fileList[file_idx]->alias = alias;
}
bool ResourceFile::renameFile(const QString fileName, const QString &newFileName)
bool ResourceFile::renameFile(const QString &fileName, const QString &newFileName)
{
bool success = true;
......
......@@ -159,7 +159,7 @@ public:
bool replacePrefixAndLang(int prefix_idx, const QString &prefix, const QString &lang);
void replaceAlias(int prefix_idx, int file_idx, const QString &alias);
bool renameFile(const QString fileName, const QString &newFileName);
bool renameFile(const QString &fileName, const QString &newFileName);
void replaceFile(int pref_idx, int file_idx, const QString &file);
int indexOfPrefix(const QString &prefix, const QString &lang) const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment