Skip to content

Commit e9c0ecb

Browse files
committed
Add CalDAV logs
1 parent 7eb00ee commit e9c0ecb

File tree

5 files changed

+86
-99
lines changed

5 files changed

+86
-99
lines changed

core/Objects/Item.vala

-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ public class Objects.Item : Objects.BaseObject {
389389
}
390390

391391
public void patch_from_vtodo (string data, string _ics) {
392-
ECal.Component ecal = new ECal.Component.from_string (data);
393392
ICal.Component ical = new ICal.Component.from_string (data);
394393

395394
id = ical.get_uid ();

core/Objects/Project.vala

+2-8
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,6 @@ public class Objects.Project : Objects.BaseObject {
8282
}
8383

8484
public int child_order { get; set; default = 0; }
85-
86-
string _view_id;
87-
public string view_id {
88-
get {
89-
_view_id ="project-%s".printf (id_string);
90-
return _view_id;
91-
}
92-
}
9385

9486
string _parent_id_string;
9587
public string parent_id_string {
@@ -254,6 +246,8 @@ public class Objects.Project : Objects.BaseObject {
254246
public signal void label_filter_change ();
255247

256248
construct {
249+
view_id ="project-%s".printf (id_string);
250+
257251
deleted.connect (() => {
258252
Idle.add (() => {
259253
Services.Database.get_default ().project_deleted (this);

0 commit comments

Comments
 (0)