Commit 9ba3e559 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Use const-ref where the function returns a const-ref

parent 147bd26d
......@@ -67,8 +67,8 @@ protected:
const QString fileName = sourceModel()->index(sourceRow, 0, sourceParent).data().toString();
const auto nameAndPath = fileName.splitRef(QStringLiteral("{[split]}"));
const auto name =;
const auto path =;
const auto &name =;
const auto &path =;
int score = 0;
bool res = false;
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