mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
properly initialize QFontComboBoxPrivate member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5a9a707716
commit
9e89650bef
1 changed files with 4 additions and 1 deletions
|
@ -109,7 +109,10 @@ QSize QFontFamilyDelegate::sizeHint(const QStyleOptionViewItem &option,
|
||||||
class QFontComboBoxPrivate : public QComboBoxPrivate
|
class QFontComboBoxPrivate : public QComboBoxPrivate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline QFontComboBoxPrivate() { filters = QFontComboBox::AllFonts; }
|
inline QFontComboBoxPrivate()
|
||||||
|
: filters(QFontComboBox::AllFonts)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
QFontComboBox::FontFilters filters;
|
QFontComboBox::FontFilters filters;
|
||||||
QFont currentFont;
|
QFont currentFont;
|
||||||
|
|
Loading…
Add table
Reference in a new issue