Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 44156b8b authored by Nicolas Fella's avatar Nicolas Fella

Open itinerary menu on left click

Summary: Having to right click seems unintuitive to me. Also it is more touch-friendly this way. The old left-click action is still available in the menu

Reviewers: vkrause, #kde_pim_kmail

Reviewed By: vkrause

Subscribers: kde-pim

Tags: #kde_pim, #kde_itinerary

Differential Revision:
parent f22c28a3
......@@ -94,11 +94,8 @@ bool SemanticUrlHandler::handleClick(MessageViewer::Viewer *viewerInstance, Mime
qCWarning(SEMANTIC_LOG) << "sementic action: data not found";
return true;
if (canAddToCalendar(m)) {
} else {
qCWarning(SEMANTIC_LOG) << "Impossible to add to calendar. Need to investigate it.";
handleContextMenuRequest(part, path, QCursor::pos());
return true;
<div style="margin: 0px 5%; padding: 10px; border: 2px solid {{ style.frameColor }}; margin-bottom:10px; position:relative;">
<div style="position: absolute; top: 4px; right: 4px;">
<a href="x-kmail:/bodypart/0//semanticAction">{% icon "view-calendar" small _("Add reservation to calendar.") %}</a>
<a href="x-kmail:/bodypart/0//semanticAction">{% icon "map-globe" small _("Add reservation to calendar.") %}</a>
{% for elem in data %}
{% with elem.reservations.0.reservation as res %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment