Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
648a48af
Commit
648a48af
authored
May 19, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 379988 - TNEF attachments not properly represented in UI
FIXED-IN: 5.5.2 BUG: 379988
parent
1f7f97c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
...eviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
+1
-1
No files found.
plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
View file @
648a48af
...
...
@@ -170,7 +170,7 @@ public:
attFileName
=
att
->
name
();
}
bodyPart
->
nodeHelper
()
->
addTempFile
(
dir
+
QDir
::
separator
()
+
attFileName
);
const
QString
href
=
QStringLiteral
(
"file:"
)
+
QString
::
fromLatin1
(
QUrl
::
toPercentEncoding
(
dir
+
QDir
::
separator
()
+
att
->
name
()))
;
const
QString
href
=
QStringLiteral
(
"file:"
)
+
dir
+
QDir
::
separator
()
+
att
FileName
;
const
QString
iconName
=
QUrl
::
fromLocalFile
(
MessageViewer
::
Util
::
iconPathForMimetype
(
att
->
mimeTag
(),
KIconLoader
::
Desktop
,
attFileName
)).
url
();
...
...
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