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
dd715dcd
Commit
dd715dcd
authored
Aug 09, 2021
by
Laurent Montel
😁
Browse files
Const'ify variable
parent
9e8af263
Changes
1
Hide whitespace changes
Inline
Side-by-side
ktnef/src/ktnefmain.cpp
View file @
dd715dcd
...
...
@@ -472,7 +472,7 @@ void KTNEFMain::slotShowMessageText()
return
;
}
QString
rtf
=
mParser
->
message
()
->
rtfString
();
const
QString
rtf
=
mParser
->
message
()
->
rtfString
();
if
(
!
rtf
.
isEmpty
())
{
auto
tmpFile
=
new
QTemporaryFile
(
QStandardPaths
::
writableLocation
(
QStandardPaths
::
TempLocation
)
+
QLatin1String
(
"/ktnef/"
)
+
QLatin1String
(
"ktnef_XXXXXX.rtf"
));
...
...
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