WidgetDataBaseItem cleanup

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-07-13 21:16:26 +00:00
parent 99f93b325c
commit eb1c899d61
2 changed files with 8 additions and 8 deletions

View file

@ -70,10 +70,10 @@ namespace qdesigner_internal {
WidgetDataBaseItem::WidgetDataBaseItem(const QString &name, const QString &group)
: m_name(name),
m_group(group),
m_compat(0),
m_container(0),
m_custom(0),
m_promoted(0)
m_compat(false),
m_container(false),
m_custom(false),
m_promoted(false)
{
}

View file

@ -130,10 +130,10 @@ private:
QString m_extends;
QString m_addPageMethod;
QIcon m_icon;
uint m_compat: 1;
uint m_container: 1;
uint m_custom: 1;
uint m_promoted: 1;
bool m_compat;
bool m_container;
bool m_custom;
bool m_promoted;
QList<QVariant> m_defaultPropertyValues;
QStringList m_fakeSlots;
QStringList m_fakeSignals;