Hey @all,

i have translations for some languages. Some languages has there own font, for Example: Korean, Chinese, ... All other languages has "Arial" as their default font.

So, if I load the translator for english everthing works fine, but when i choose the chinese translation for example than it seems that all other languages in the listview aren't shown with the font "Arial".

To add the fonts to the model i use something like:
Qt Code:
  1. QString translated_text = QApplication::translate("Languages", "LanguageName");
  2. model->addData(model->index(row, column), translated_text, Qt::DisplayRole);
  3.  
  4. // If translation is english
  5. model->addData(model->index(row, column), QFont("Arial", 12), Qt::FontRole);
  6.  
  7. // If translation is chinese
  8. model->addData(model->index(row, column), QFont("SimSun", 12), Qt::FontRole);
To copy to clipboard, switch view to plain text mode 

Could any body help me?

Best Regards
NoRulez