Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit baee8303 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variables

parent dba6399f
......@@ -51,7 +51,6 @@
KOEventPopupMenu::KOEventPopupMenu(Akonadi::ETMCalendar *calendar, QWidget *parent)
: QMenu(parent), mCalendar(calendar)
mHasAdditionalItems = false;
addAction(QIcon::fromTheme(QStringLiteral("document-preview")), i18n("&Show"),
this, &KOEventPopupMenu::popupShow);
......@@ -88,7 +88,7 @@ private:
Akonadi::Item mCurrentIncidence;
QDate mCurrentDate;
bool mHasAdditionalItems;
bool mHasAdditionalItems = false;
QList<QAction *> mEditOnlyItems;
QList<QAction *> mTodoOnlyItems;
QList<QAction *> mEventOnlyItems;
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