wrong return value when inheriting the locale fixed

This commit is contained in:
Uwe Rathmann 2018-04-12 13:07:58 +02:00
parent d1ecec2ad8
commit ed558f3021

View File

@ -1071,12 +1071,12 @@ bool qskInheritLocale( QskControl* control, const QLocale& locale )
auto d = static_cast< QskControlPrivate* >( QQuickItemPrivate::get( control ) );
if ( d->explicitLocale || d->locale == locale )
return false;
return true;
d->locale = locale;
qskSendEventTo( control, QEvent::LocaleChange );
return true;
return false;
}
void qskResolveLocale( QskControl* control )