Details
-
Bug
-
Resolution: Out of scope
-
P0: Blocker
-
None
-
4.8.x
-
None
Description
#define KANNADA_TTF "./MultiLang_fonts/NotoSansKannada-Bold.ttf"
qApp->removeTranslator( &translator );
int id = QFontDatabase::addApplicationFont( KANNADA_TTF ); // For other language will change ttf files
QString family = QFontDatabase::applicationFontFamilies( id ).at( 0 );
QFont newFont( family );
qApp->setFont( newFont );
translator.load( "Kannada.qm" , temp );
qApp->installTranslator( &translator );
Changing Font with the above lines as we change language in menu Causes memory leak.