forked from qt-creator/qt-creator
QmlPuppet: Register fonts at scene creation
Automatically register all fonts from 'fonts' folder at scene creation. Fixes: QDS-3624 Change-Id: I38728e458952ea52c941244daaca715102a93c55 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -46,6 +46,7 @@ Qt5PreviewNodeInstanceServer::Qt5PreviewNodeInstanceServer(NodeInstanceClientInt
|
||||
|
||||
void Qt5PreviewNodeInstanceServer::createScene(const CreateSceneCommand &command)
|
||||
{
|
||||
registerFonts(command.resourceUrl);
|
||||
setTranslationLanguage(command.language);
|
||||
initializeView();
|
||||
setupScene(command);
|
||||
|
||||
Reference in New Issue
Block a user