Skip to content

KFontChooser: add a default constructor that takes a QWidget* first arg

Ahmad Samir requested to merge work/ahmad/kfontchooser-default-ctor into master

For the sake of the designer plugins, otherwise using KFontChooser in .ui files wouldn't work, see [1].

To make this work, I changed the default values for the args of the deprecated ctor; according to [2] that doesn't break binary compatibility.

[1] f8dcfa6f (comment 291658)

[2] https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++

Merge request reports