Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KMail
Commits
5defb5eb
Commit
5defb5eb
authored
Aug 31, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/editor/kmcomposerwin.cpp
src/editor/kmcomposerwin.cpp
+1
-1
src/editor/kmcomposerwin.h
src/editor/kmcomposerwin.h
+2
-2
No files found.
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