Commit c2c0489c authored by Laurent Montel's avatar Laurent Montel
Browse files

Use isEmpty()

parent 3118f77f
......@@ -36,7 +36,7 @@ QString CvsServiceUtils::joinFileList(const QStringList &files)
result += ' ';
}
if (result.length() > 0)
if (!result.isEmpty())
result.truncate(result.length() - 1);
return result;
......
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