Commit e4246260 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[converter runner] Use multi-arg with QString

parent 9abfb28a
......@@ -265,7 +265,7 @@ void ConverterRunner::match(Plasma::RunnerContext &context)
Plasma::QueryMatch match(this);
match.setType(Plasma::QueryMatch::InformationalMatch);
match.setIconName(QStringLiteral("edit-copy"));
match.setText(QString(QLatin1String( "%1 (%2)" )).arg(v.toString()).arg(u.symbol()));
match.setText(QStringLiteral("%1 (%2)").arg(v.toString(), u.symbol()));
match.setData(v.number());
match.setRelevance(1.0 - std::abs(std::log10(v.number())) / 50.0);
matches.append(match);
......
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