Commit 09b6c993 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

[BalooRolesProvider] Simplify single tag case

When the list contains just one value, return it instead of trying to
sort the list with a QCollator.
parent 34f74e42
......@@ -18,6 +18,10 @@
namespace {
QString tagsFromValues(const QStringList& values)
if (values.size() == 1) {
QStringList alphabeticalOrderTags = values;
QCollator coll;
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