Commit 9a7f8909 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Initialize variables in header directly

parent b8e3b5ac
Pipeline #44514 passed with stage
in 20 minutes and 49 seconds
...@@ -404,15 +404,6 @@ AkonadiCollectionView *AkonadiCollectionViewFactory::collectionView() const ...@@ -404,15 +404,6 @@ AkonadiCollectionView *AkonadiCollectionViewFactory::collectionView() const
AkonadiCollectionView::AkonadiCollectionView(CalendarView *view, bool hasContextMenu, QWidget *parent) AkonadiCollectionView::AkonadiCollectionView(CalendarView *view, bool hasContextMenu, QWidget *parent)
: CalendarViewExtension(parent) : CalendarViewExtension(parent)
, mActionManager(nullptr)
, mCollectionView(nullptr)
, mBaseModel(nullptr)
, mSelectionProxyModel(nullptr)
, mAssignColor(nullptr)
, mDefaultCalendar(nullptr)
, mServerSideSubscription(nullptr)
, mNotSendAddRemoveSignal(false)
, mWasDefaultCalendar(false)
, mHasContextMenu(hasContextMenu) , mHasContextMenu(hasContextMenu)
{ {
mManagerShowCollectionProperties = new ManageShowCollectionProperties(this, this); mManagerShowCollectionProperties = new ManageShowCollectionProperties(this, this);
......
...@@ -101,9 +101,9 @@ private: ...@@ -101,9 +101,9 @@ private:
QAction *mAssignColor = nullptr; QAction *mAssignColor = nullptr;
QAction *mDefaultCalendar = nullptr; QAction *mDefaultCalendar = nullptr;
QAction *mServerSideSubscription = nullptr; QAction *mServerSideSubscription = nullptr;
bool mNotSendAddRemoveSignal; bool mNotSendAddRemoveSignal = false;
bool mWasDefaultCalendar; bool mWasDefaultCalendar = false;
bool mHasContextMenu; const bool mHasContextMenu;
NewNodeExpander *mNewNodeExpander = nullptr; NewNodeExpander *mNewNodeExpander = nullptr;
ManageShowCollectionProperties *mManagerShowCollectionProperties = nullptr; ManageShowCollectionProperties *mManagerShowCollectionProperties = nullptr;
}; };
......
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