Fix default font weight never gets honored

If the value is false, falling back to QFont::Normal leads to "Normal" weight, which is not correct for fonts which have a different default font weight. Also, not setting the value will be more memory efficient as it doesn't lead to an extra allocation

Edited by Waqar Ahmed

Merge request reports

Loading
Loading