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

const'ify

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