From 99bd6787eb3d099f196f8e696be23a6dbac82909 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 28 Oct 2021 06:48:17 +0200 Subject: Remove the activation_url from the Appointment class --- src/actions-live.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/actions-live.cpp') diff --git a/src/actions-live.cpp b/src/actions-live.cpp index 81bdb70..b2de976 100644 --- a/src/actions-live.cpp +++ b/src/actions-live.cpp @@ -150,12 +150,7 @@ std::string LiveActions::open_appointment(const Appointment& appt, const DateTim { std::string sReturn = ""; - if (!appt.activation_url.empty()) - { - sReturn = appt.activation_url; - ayatana_common_utils_open_url(sReturn.c_str()); - } - else switch (appt.type) + switch (appt.type) { case Appointment::ALARM: sReturn = open_alarm_app(); -- cgit v1.2.3