Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F118161288
D13.1775654891.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
D13.1775654891.diff
View Options
Index: akonadi/calendar/incidencechanger.cpp
===================================================================
--- akonadi/calendar/incidencechanger.cpp
+++ akonadi/calendar/incidencechanger.cpp
@@ -285,6 +285,18 @@
Q_ASSERT(j);
Akonadi::Item item = j->item();
+ QString description;
+ if (change->atomicOperationId != 0) {
+ AtomicOperation *a = mAtomicOperations[change->atomicOperationId];
+ ++a->m_numCompletedChanges;
+ change->completed = true;
+ description = a->m_description;
+ }
+
+ // for user undo/redo
+ if (change->recordToHistory) {
+ mHistory->recordCreation(item, description, change->atomicOperationId);
+ }
if (j->error()) {
const QString errorString = j->errorString();
@@ -332,18 +344,6 @@
mInvitationStatusByAtomicOperation.insert(atomicOperationId, status);
}
- QString description;
- if (change->atomicOperationId != 0) {
- AtomicOperation *a = mAtomicOperations[change->atomicOperationId];
- ++a->m_numCompletedChanges;
- change->completed = true;
- description = a->m_description;
- }
-
- // for user undo/redo
- if (change->recordToHistory) {
- mHistory->recordCreation(item, description, change->atomicOperationId);
- }
change->errorString = QString();
change->resultCode = ResultCodeSuccess;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 1:28 PM (9 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18847334
Default Alt Text
D13.1775654891.diff (1 KB)
Attached To
Mode
D13: Update createjob result immediately and not after sending the mail.
Attached
Detach File
Event Timeline