Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KOrganizer
Commits
9a7f8909
Commit
9a7f8909
authored
Dec 18, 2020
by
Laurent Montel
😁
Browse files
Initialize variables in header directly
parent
b8e3b5ac
Pipeline
#44514
passed with stage
in 20 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/akonadicollectionview.cpp
View file @
9a7f8909
...
...
@@ -404,15 +404,6 @@ AkonadiCollectionView *AkonadiCollectionViewFactory::collectionView() const
AkonadiCollectionView
::
AkonadiCollectionView
(
CalendarView
*
view
,
bool
hasContextMenu
,
QWidget
*
parent
)
:
CalendarViewExtension
(
parent
)
,
mActionManager
(
nullptr
)
,
mCollectionView
(
nullptr
)
,
mBaseModel
(
nullptr
)
,
mSelectionProxyModel
(
nullptr
)
,
mAssignColor
(
nullptr
)
,
mDefaultCalendar
(
nullptr
)
,
mServerSideSubscription
(
nullptr
)
,
mNotSendAddRemoveSignal
(
false
)
,
mWasDefaultCalendar
(
false
)
,
mHasContextMenu
(
hasContextMenu
)
{
mManagerShowCollectionProperties
=
new
ManageShowCollectionProperties
(
this
,
this
);
...
...
src/akonadicollectionview.h
View file @
9a7f8909
...
...
@@ -101,9 +101,9 @@ private:
QAction
*
mAssignColor
=
nullptr
;
QAction
*
mDefaultCalendar
=
nullptr
;
QAction
*
mServerSideSubscription
=
nullptr
;
bool
mNotSendAddRemoveSignal
;
bool
mWasDefaultCalendar
;
bool
mHasContextMenu
;
bool
mNotSendAddRemoveSignal
=
false
;
bool
mWasDefaultCalendar
=
false
;
const
bool
mHasContextMenu
;
NewNodeExpander
*
mNewNodeExpander
=
nullptr
;
ManageShowCollectionProperties
*
mManagerShowCollectionProperties
=
nullptr
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment