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
5defb5eb
Commit
5defb5eb
authored
Aug 31, 2020
by
Laurent Montel
😁
Browse files
Const'ify method + fix compile warning
parent
9e48f38d
Pipeline
#32417
passed with stage
in 45 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/editor/kmcomposerwin.cpp
View file @
5defb5eb
...
...
@@ -2515,7 +2515,7 @@ void KMComposerWin::slotWordWrapToggled(bool on)
}
}
int
KMComposerWin
::
validateLineWrapWidth
()
int
KMComposerWin
::
validateLineWrapWidth
()
const
{
int
lineWrap
=
MessageComposer
::
MessageComposerSettings
::
self
()
->
lineWrapWidth
();
if
((
lineWrap
==
0
)
||
(
lineWrap
>
78
))
{
...
...
src/editor/kmcomposerwin.h
View file @
5defb5eb
...
...
@@ -534,8 +534,8 @@ private:
void
insertUrls
(
const
QMimeData
*
source
,
const
QList
<
QUrl
>
&
urlList
);
void
initializePluginActions
();
Q_REQUIRED_RESULT
bool
showErrorMessage
(
KJob
*
job
);
Q_REQUIRED_RESULT
int
validateLineWrapWidth
();
bool
showErrorMessage
(
KJob
*
job
);
Q_REQUIRED_RESULT
int
validateLineWrapWidth
()
const
;
void
slotSelectionChanged
();
void
slotMessage
(
const
QString
&
str
);
void
slotEditorPluginInsertText
(
const
QString
&
str
);
...
...
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