Skip to content
GitLab
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
4f9ab5ac
Commit
4f9ab5ac
authored
Oct 26, 2022
by
Laurent Montel
Browse files
Fix clazy warning
parent
f6526281
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/editor/kmcomposerwin.cpp
View file @
4f9ab5ac
...
...
@@ -550,7 +550,7 @@ KMComposerWin::ModeType KMComposerWin::modeType() const
return
mModeType
;
}
void
KMComposerWin
::
setModeType
(
const
ModeType
&
modeType
)
void
KMComposerWin
::
setModeType
(
KMComposerWin
::
ModeType
modeType
)
{
mModeType
=
modeType
;
}
...
...
@@ -2836,8 +2836,8 @@ void KMComposerWin::doSend(MessageComposer::MessageSender::SendMethod method, Me
i18n
(
"You did not specify a subject. "
"Send message anyway?"
),
i18n
(
"No Subject Specified"
),
KGuiItem
(
i18n
(
"S&end as Is"
),
Q
Latin1
String
(
"mail-send"
)),
KGuiItem
(
i18n
(
"&Specify the Subject"
),
Q
Latin1
String
(
"edit-rename"
)));
KGuiItem
(
i18n
(
"S&end as Is"
),
QString
Literal
(
"mail-send"
)),
KGuiItem
(
i18n
(
"&Specify the Subject"
),
QString
Literal
(
"edit-rename"
)));
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0)
if
(
rc
==
KMessageBox
::
ButtonCode
::
SecondaryAction
)
{
#else
...
...
src/editor/kmcomposerwin.h
View file @
4f9ab5ac
...
...
@@ -442,7 +442,7 @@ public: // kmcommand
QList
<
QAction
*>
pluginToolsActionListForPopupMenu
()
const
;
Q_REQUIRED_RESULT
ModeType
modeType
()
const
;
void
setModeType
(
const
ModeType
&
modeType
);
void
setModeType
(
KMComposerWin
::
ModeType
modeType
);
protected:
bool
eventFilter
(
QObject
*
obj
,
QEvent
*
event
)
override
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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