adding the locale as property for the root item, so that resolving the

locale works from window to item
This commit is contained in:
Uwe Rathmann 2019-01-21 15:21:42 +01:00
parent dd090a9f6e
commit 3e40bfb257

View File

@ -127,6 +127,12 @@ QskWindow::QskWindow( QWindow* parent )
fmt.setSamples( 4 );
setFormat( fmt );
/*
So that inheriting/resolving of the locale works
over all windows and items.
*/
contentItem()->setProperty( "locale", locale() );
if ( parent )
{
// also when the parent changes TODO ...