aboutsummaryrefslogtreecommitdiff
path: root/src/actions-live.cpp
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-28 06:48:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-28 08:21:05 +0200
commit99bd6787eb3d099f196f8e696be23a6dbac82909 (patch)
tree67b3bf9e4498a73ef85d39aeea2520b057666f45 /src/actions-live.cpp
parent97cc3bfbcba9cbbf612f4c7e04b974816adae3e2 (diff)
downloadayatana-indicator-datetime-99bd6787eb3d099f196f8e696be23a6dbac82909.tar.gz
ayatana-indicator-datetime-99bd6787eb3d099f196f8e696be23a6dbac82909.tar.bz2
ayatana-indicator-datetime-99bd6787eb3d099f196f8e696be23a6dbac82909.zip
Remove the activation_url from the Appointment class
Diffstat (limited to 'src/actions-live.cpp')
-rw-r--r--src/actions-live.cpp7
1 files changed, 1 insertions, 6 deletions
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();