Commit 2e32a2ee authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor optimization

parent 0d876e3b
......@@ -66,7 +66,7 @@ QString buildTitle(const QString &description)
} else {
toReplace = rx.cap(1); // strip just tag
}
s = s.replace(s.indexOf(toReplace), toReplace.length(), replaceWith); // do the deed
s.replace(s.indexOf(toReplace), toReplace.length(), replaceWith); // do the deed
}
if (s.length() > 90) {
s = s.left(90) + QLatin1String("...");
......
Markdown is supported
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