Commit 272f3a2a authored by Laurent Montel's avatar Laurent Montel 😁

initialize value

parent 6c9a3831
......@@ -67,7 +67,7 @@ private:
void fillCombo();
private:
Ui::AlarmDialog *mUi;
Ui::AlarmDialog *mUi = nullptr;
KCalCore::Incidence::IncidenceType mIncidenceType;
bool mAllowBeginReminders;
bool mAllowEndReminders;
......
......@@ -57,10 +57,10 @@ protected Q_SLOTS:
private:
KCalCore::Attachment::Ptr mAttachment;
AttachmentIconItem *mItem;
AttachmentIconItem *mItem = nullptr;
QMimeType mMimeType;
Ui::AttachmentEditDialog *mUi;
QPushButton *mOkButton;
Ui::AttachmentEditDialog *mUi = nullptr;
QPushButton *mOkButton = nullptr;
};
}
......
......@@ -60,7 +60,7 @@ protected:
private:
void slotActionTriggered();
QMenu *mMenu;
QMenu *mMenu = nullptr;
QVector<QPair<QString, QIcon> > mList;
int mCurrentIndex;
};
......@@ -133,10 +133,10 @@ private:
void dataFromFields();
void fieldsFromData();
AttendeeComboBox *mRoleCombo;
AttendeeComboBox *mStateCombo;
AttendeeComboBox *mResponseCombo;
AttendeeLineEdit *mEdit;
AttendeeComboBox *mRoleCombo = nullptr;
AttendeeComboBox *mStateCombo = nullptr;
AttendeeComboBox *mResponseCombo = nullptr;
AttendeeLineEdit *mEdit = nullptr;
QSharedPointer<AttendeeData> mData;
QString mUid;
bool mModified;
......
......@@ -35,7 +35,6 @@ using namespace IncidenceEditorNG;
AttendeeLineEditDelegate::AttendeeLineEditDelegate(QObject *parent)
: QStyledItemDelegate(parent)
, mCompletionMode(KCompletion::CompletionPopup)
{
mToolTip = i18nc("@info:tooltip",
"Enter the name or email address of the attendee.");
......
......@@ -56,7 +56,7 @@ private:
void leftPressed();
QString mToolTip;
QString mWhatsThis;
KCompletion::CompletionMode mCompletionMode;
KCompletion::CompletionMode mCompletionMode = KCompletion::CompletionPopup;
};
}
......
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