Commit 08b546a6 authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

parent ece2220a
......@@ -117,7 +117,7 @@ QString GrantleeKi18nLocalizer::localizeMonetaryValue(qreal value, const QString
QString GrantleeKi18nLocalizer::currentLocale() const
{
QString locale = Grantlee::QtLocalizer::currentLocale();
int f = locale.indexOf(QLatin1Char('_'));
const int f = locale.indexOf(QLatin1Char('_'));
if (f >= 0) {
locale.truncate(f);
}
......
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