diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-05-19 18:35:40 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-05-20 07:45:07 +0200 |
commit | a54353f3970fe6947b3542b74c43c9341d9d39fc (patch) | |
tree | ba9a94d3db11c37905149620b747b5daf25fc121 /src/plugins/resourceeditor/qrceditor/resourcefile.cpp | |
parent | 2df6d1c4288b9cbb02b363a27d9b3f72b58db9ba (diff) |
ResourceEditor: Pass const string by reference
Change-Id: I54f998ad99a509077386649309469a8dc922349f
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/resourceeditor/qrceditor/resourcefile.cpp')
-rw-r--r-- | src/plugins/resourceeditor/qrceditor/resourcefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp index 57c5ea86c9..33adbd382c 100644 --- a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp +++ b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp @@ -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; |