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
Kontact
Commits
e49e4610
Commit
e49e4610
authored
Apr 04, 2021
by
Laurent Montel
😁
Browse files
Const'ify pointer
parent
656d95f4
Pipeline
#56450
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/iconsidepane.cpp
View file @
e49e4610
...
...
@@ -148,7 +148,7 @@ public:
private:
QList
<
KontactInterface
::
Plugin
*>
pluginList
;
Navigator
*
mNavigator
=
nullptr
;
Navigator
*
const
mNavigator
;
};
class
SortFilterProxyModel
:
public
QSortFilterProxyModel
...
...
@@ -238,14 +238,13 @@ public:
}
private:
Navigator
*
mNavigator
=
nullptr
;
Navigator
*
const
mNavigator
;
};
}
Navigator
::
Navigator
(
SidePaneBase
*
parent
)
:
QListView
(
parent
)
,
mSidePane
(
parent
)
,
mMainWindow
(
nullptr
)
{
setViewport
(
new
QWidget
(
this
));
...
...
src/iconsidepane.h
View file @
e49e4610
...
...
@@ -81,7 +81,7 @@ private Q_SLOTS:
private:
void
setHelpText
(
QAction
*
act
,
const
QString
&
text
);
SidePaneBase
*
mSidePane
=
nullptr
;
SidePaneBase
*
const
mSidePane
;
MainWindow
*
mMainWindow
=
nullptr
;
Model
*
mModel
=
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