summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/phoneformat.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/libkcal/phoneformat.cpp b/libkcal/phoneformat.cpp
index c97b43d..238b0ef 100644
--- a/libkcal/phoneformat.cpp
+++ b/libkcal/phoneformat.cpp
@@ -188,15 +188,16 @@ public:
// csum *****************************************
QStringList attList;
uint cSum;
if ( todo->hasDueDate() )
attList << dtToString ( todo->dtDue() );
attList << QString::number( id );
- attList << todo->summary();
+ attList << todo->summary();
attList << completedString;
- attList << alarmString;
+ attList << QString::number( todo->priority() );
+ attList << alarmString;
attList << todo->categoriesStr();
attList << todo->secrecyStr();
cSum = PhoneFormat::getCsum(attList );
todo->setCsum( mProfileName, QString::number( cSum ));
mCalendar->addTodo( todo);
@@ -671,13 +672,13 @@ bool PhoneFormat::load( Calendar *calendar, Calendar *existingCal ,QString profi
if (error == ERR_EMPTY) break;
handler.readEvent( existingCal, &note );
}
bool start = true;
GSM_ToDoEntry ToDo;
- int ccc = 0;
+ ccc = 0;
while (!gshutdown) {
error = Phone->GetNextToDo(&s, &ToDo, start);
if (error == ERR_EMPTY) break;
start = false;
qDebug("readTodo %d ", ++ccc);
handler.readTodo( existingCal, &ToDo, &s);