Commit 4058c128 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr for flags

parent 44c7a974
......@@ -73,7 +73,7 @@ PhoneTypeDialog::PhoneTypeDialog(KContacts::PhoneNumber::Type type, QWidget *par
KContacts::PhoneNumber::Type PhoneTypeDialog::type() const
{
KContacts::PhoneNumber::Type type = nullptr;
KContacts::PhoneNumber::Type type = {};
for (int i = 0; i < mGroup->buttons().count(); ++i) {
QCheckBox *box = qobject_cast<QCheckBox *>(mGroup->buttons().at(i));
......
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