-
QFont::weight/setWeight() returns/takes an int in Qt5 and QFont::Weight in Qt6. This maintains the same behaviour as implemented in 41693fe9. «the weight used as bold is dependent on selected font's weight. "Regular" will use "Bold", but e.g. "Thin" will use "Light".»
5a614549