aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/datetime/appointment.h1
-rw-r--r--src/appointment.cpp1
-rw-r--r--src/engine-eds.cpp1
-rw-r--r--tests/manual-test-snap.cpp1
4 files changed, 0 insertions, 4 deletions
diff --git a/include/datetime/appointment.h b/include/datetime/appointment.h
index a5283c9..441aae1 100644
--- a/include/datetime/appointment.h
+++ b/include/datetime/appointment.h
@@ -39,7 +39,6 @@ public:
std::string summary;
std::string url;
std::string uid;
- bool is_event = false;
bool is_daily = false;
bool has_alarms = false;
DateTime begin;
diff --git a/src/appointment.cpp b/src/appointment.cpp
index 6e742c3..98cc062 100644
--- a/src/appointment.cpp
+++ b/src/appointment.cpp
@@ -33,7 +33,6 @@ bool Appointment::operator==(const Appointment& that) const
&& (summary==that.summary)
&& (url==that.url)
&& (uid==that.uid)
- && (is_event==that.is_event)
&& (has_alarms==that.has_alarms)
&& (begin==that.begin)
&& (end==that.end);
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp
index 5e2484e..4b5a1b9 100644
--- a/src/engine-eds.cpp
+++ b/src/engine-eds.cpp
@@ -455,7 +455,6 @@ private:
appointment.begin = DateTime(begin);
appointment.end = DateTime(end);
appointment.color = subtask->color;
- appointment.is_event = vtype == E_CAL_COMPONENT_EVENT;
appointment.uid = uid;
GList * alarm_uids = e_cal_component_get_alarm_uids(component);
diff --git a/tests/manual-test-snap.cpp b/tests/manual-test-snap.cpp
index 51556cd..23d607f 100644
--- a/tests/manual-test-snap.cpp
+++ b/tests/manual-test-snap.cpp
@@ -36,7 +36,6 @@ int main()
a.summary = "Alarm";
a.url = "alarm:///hello-world";
a.uid = "D4B57D50247291478ED31DED17FF0A9838DED402";
- a.is_event = false;
a.is_daily = false;
a.has_alarms = true;
auto begin = g_date_time_new_local(2014,12,25,0,0,0);