[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim-addons] plugins/messageviewer/bodypartformatter/calendar: Minor
From: Laurent Montel <null () kde ! org>
Date: 2018-09-12 5:45:20
Message-ID: E1fzxxo-0002PX-3A () code ! kde ! org
[Download RAW message or body]
Git commit ea35e7fd2dabd9652f48d02a0a84a47aad2b7715 by Laurent Montel.
Committed on 12/09/2018 at 05:45.
Pushed by mlaurent into branch 'master'.
Minor
M +1 -3 plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp
https://commits.kde.org/kdepim-addons/ea35e7fd2dabd9652f48d02a0a84a47aad2b7715
diff --git a/plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp \
b/plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp index \
f60f15d2..aa2a2df0 100644
--- a/plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp
+++ b/plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp
@@ -1025,9 +1025,7 @@ public:
QDesktopServices::openUrl(QUrl(attachment->uri()));
} else {
// put the attachment in a temporary file and launch it
- QTemporaryFile *file{
- nullptr
- };
+ QTemporaryFile *file = nullptr;
QMimeDatabase db;
QStringList patterns = \
db.mimeTypeForName(attachment->mimeType()).globPatterns(); if (!patterns.empty()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic