Commit 06afcb3c authored by Sergio Martins's avatar Sergio Martins
Browse files

kcalendarsystem: Fix no-op that should remove whitespace from string.

QString::simplified() is const so doesn't alter the string.

CCMAIL: jlayt@kde.org
parent 9dc18abf
......@@ -853,8 +853,8 @@ QString KCalendarSystemPrivate::simpleDateString(const QString &str) const
newStr.append(QLatin1Char(' '));
}
}
newStr.simplified();
return newStr;
return newStr.simplified();
}
int KCalendarSystemPrivate::dayOfYear(const QDate &date) const
......
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