Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117873146
D57.1775332156.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D57.1775332156.diff
View Options
Index: korgac/koalarmclient.cpp
===================================================================
--- korgac/koalarmclient.cpp
+++ korgac/koalarmclient.cpp
@@ -212,14 +212,14 @@
true /* exclude blocked alarms */);
foreach ( const Alarm::Ptr &alarm, alarms ) {
- QStringList calendars = mCalendar->calendars(alarm->parentUid());
+ const QString uid = alarm->customProperty("ETMCalendar", "parentUid");
+ const QStringList calendars = mCalendar->calendars(uid);
if (!calendars.isEmpty()) {
//FIXME don't just pick the first calendar
- const Incidence::Ptr parentIncidence = mCalendar->incidence(calendars.first(), alarm->parentUid());
- const Akonadi::Item item = mCalendar->item( mCalendar->incidence(calendars.first(), alarm->parentUid()) );
+ const Akonadi::Item item = mCalendar->item( mCalendar->incidence(calendars.first(), uid) );
createReminder( mCalendar, item, from, alarm->text() );
} else {
- kWarning() << "Couldn't find calendar";
+ kWarning() << "Couldn't find calendar for " << uid;
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 7:49 PM (12 h, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18830962
Default Alt Text
D57.1775332156.diff (1 KB)
Attached To
Mode
D57: Use customProperty to get parentUid for checkAlarms
Attached
Detach File
Event Timeline