adding the locale as property for the root item, so that resolving the
locale works from window to item
This commit is contained in:
parent
dd090a9f6e
commit
3e40bfb257
@ -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 ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user