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
KMail
Commits
2a88ec4a
Commit
2a88ec4a
authored
Oct 27, 2021
by
Laurent Montel
😁
Browse files
const'ify
parent
0d417740
Pipeline
#91758
passed with stage
in 24 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmmainwin.cpp
View file @
2a88ec4a
...
...
@@ -217,7 +217,7 @@ bool KMMainWin::restoreDockedState(int n)
// Override this if the main window was hidden in the system tray
// when the session was saved.
KConfigGroup
config
(
KConfigGui
::
sessionConfig
(),
QString
::
number
(
n
));
bool
show
=
!
config
.
readEntry
(
"docked"
,
false
);
const
bool
show
=
!
config
.
readEntry
(
"docked"
,
false
);
return
KMainWindow
::
restore
(
n
,
show
);
}
...
...
src/kmreadermainwin.cpp
View file @
2a88ec4a
...
...
@@ -441,7 +441,7 @@ void KMReaderMainWin::initializeAkonadiStandardAction()
Akonadi
::
StandardMailActionManager
::
MarkMailAsImportant
,
Akonadi
::
StandardMailActionManager
::
MarkMailAsActionItem
};
for
(
Akonadi
::
StandardMailActionManager
::
Type
mailAction
:
mailActions
)
{
for
(
const
Akonadi
::
StandardMailActionManager
::
Type
mailAction
:
mailActions
)
{
QAction
*
act
=
mAkonadiStandardActionManager
->
createAction
(
mailAction
);
mAkonadiStandardActionManager
->
interceptAction
(
mailAction
);
connect
(
act
,
&
QAction
::
triggered
,
this
,
&
KMReaderMainWin
::
slotMarkMailAs
);
...
...
Write
Preview
Supports
Markdown
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