equal
deleted
inserted
replaced
125 AgendaEntry agendaEntry(mAgendaUtil->fetchById(calEntryId)); |
125 AgendaEntry agendaEntry(mAgendaUtil->fetchById(calEntryId)); |
126 MYLOCLOGSTRING("agenda entry created from calender id ."); |
126 MYLOCLOGSTRING("agenda entry created from calender id ."); |
127 AgendaGeoValue geoValue; |
127 AgendaGeoValue geoValue; |
128 geoValue.setLatLong(latitude, longitude); |
128 geoValue.setLatLong(latitude, longitude); |
129 MYLOCLOGSTRING("latitude and longitude set to AgendaGeoValue object."); |
129 MYLOCLOGSTRING("latitude and longitude set to AgendaGeoValue object."); |
130 agendaEntry.setGeoValue(geoValue); |
130 if( !agendaEntry.isNull() ) |
131 ret = mAgendaUtil->updateEntry(agendaEntry); |
131 { |
|
132 agendaEntry.setGeoValue(geoValue); |
|
133 ret = mAgendaUtil->store(agendaEntry); |
|
134 } |
132 } |
135 } |
133 return ret; |
136 return ret; |
134 } |
137 } |
135 |
138 |
136 // ---------------------------------------------------------------------------- |
139 // ---------------------------------------------------------------------------- |