Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 9655e8d5 authored by Laurent Montel's avatar Laurent Montel 😁

Use QLatin1String

parent d71c6150
......@@ -92,8 +92,8 @@ bool CategoryFilterProxyModel::filterAcceptsRow(int row, const QModelIndex &pare
int count = categories.count();
for (int i = 0; i < count; ++i) {
const QString cat =;
if (cat.startsWith(QStringLiteral("akonadi:"))) {
const int idx = cat.indexOf(QStringLiteral("?tag="));
if (cat.startsWith(QLatin1String("akonadi:"))) {
const int idx = cat.indexOf(QLatin1String("?tag="));
if (idx >= 0) {
Tag::Id id = cat.midRef(idx + 5).toInt();
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