[pim/kdepim-addons] plugins/plasma/pimeventsplugin: Add location support to pimeventsplugin
Allen Winter <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 7acfae34db1414ddbc84152e58cdc00dbb03e83f by Allen Winter, on behalf of Young Lord.
Committed on 18/07/2026 at 14:20.
Pushed by winterz into branch 'master'.
Add location support to pimeventsplugin
M +3 -0 plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
https://invent.kde.org/pim/kdepim-addons/-/commit/7acfae34db1414ddbc84152e58cdc00dbb03e83f
diff --git a/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp b/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
index 3debb8fb1..c93d2e025 100644
--- a/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
+++ b/plugins/plasma/pimeventsplugin/eventdatavisitor.cpp
@@ -171,6 +171,9 @@ CalendarEvents::EventData EventDataVisitor::incidenceData(const KCalendarCore::I
CalendarEvents::EventData data;
data.setTitle(incidence->summary());
data.setDescription(incidence->description());
+#if KDECLARATIVE_VERSION >= QT_VERSION_CHECK(6, 27, 0)
+ data.setLocation(incidence->location());
+#endif
data.setIsAllDay(incidence->allDay());
data.setIsMinor(false);
data.setUid(generateUid(incidence));