Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9aa81047 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize values

parent 73a88e57
......@@ -54,14 +54,14 @@ public:
bool storeContactGroup(KContacts::ContactGroup &group);
void setupMonitor();
ContactGroupEditor *mParent = nullptr;
ContactGroupEditor::Mode mMode;
ContactGroupEditor::Mode mMode = ContactGroupEditor::Mode::CreateMode;
Item mItem;
Monitor *mMonitor = nullptr;
Collection mDefaultCollection;
Ui::ContactGroupEditor mGui;
bool mReadOnly;
ContactGroupEditor *mParent = nullptr;
ContactGroupModel *mGroupModel = nullptr;
Monitor *mMonitor = nullptr;
bool mReadOnly = false;
};
}
......
......@@ -38,12 +38,15 @@ CategoriesEditWidget::~CategoriesEditWidget()
void CategoriesEditWidget::setReadOnly(bool readOnly)
{
Q_UNUSED(readOnly);
}
void CategoriesEditWidget::loadContact(const KContacts::Addressee &contact)
{
Q_UNUSED(contact);
}
void CategoriesEditWidget::storeContact(KContacts::Addressee &contact) const
{
Q_UNUSED(contact);
}
......@@ -77,7 +77,7 @@ private:
KComboBox *mView = nullptr;
KContacts::Addressee mContact;
QWidget *mViewport = nullptr;
DisplayType mDisplayType;
DisplayType mDisplayType = DisplayType::SimpleName;
int mAdditionalPopupWidth;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment