[pim/kdepim-addons] plugins/messageviewer/bodypartformatter/ms-tnef: Use the name overload of IncidenceFormatter::extensiveDisplayStr

Allen Winter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b3231866ca8a70dc5e31ff5e92fd02fdc6055f1e by Allen Winter, on behalf of Volker Krause.
Committed on 25/07/2026 at 11:19.
Pushed by vkrause into branch 'master'.

Use the name overload of IncidenceFormatter::extensiveDisplayStr

The calendar pointer overload is just a complex machinery to come up with
an empty string for this, and is going to be removed.

M  +1    -1    plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp

https://invent.kde.org/pim/kdepim-addons/-/commit/b3231866ca8a70dc5e31ff5e92fd02fdc6055f1e

diff --git a/plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp b/plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
index ab1d4f45f..58ed870eb 100644
--- a/plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
+++ b/plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
@@ -80,7 +80,7 @@ public:
             const KCalendarCore::Event::Ptr event = inc.dynamicCast<KCalendarCore::Event>();
             if (event && event->hasEndDate()) {
                 // no enddate => not a valid invitation
-                inviteStr = KCalUtils::IncidenceFormatter::extensiveDisplayStr(cl, inc);
+                inviteStr = KCalUtils::IncidenceFormatter::extensiveDisplayStr(QString(), inc);
             }
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.