[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kresources/opengroupware
From: Reinhold Kainhofer <reinhold () kainhofer ! com>
Date: 2004-12-21 16:33:13
Message-ID: 20041221163313.D95091CF36 () office ! kde ! org
[Download RAW message or body]
CVS commit by kainhofe:
Fix infinite loops and crashes. The OGo resource now basically works again. It still \
remains to finish writing for the exchange resource.
M +9 -9 groupwareuploadjob.cpp 1.11
--- kdepim/kresources/opengroupware/groupwareuploadjob.cpp #1.10:1.11
@@ -115,5 +115,5 @@ void GroupwareUploadJob::uploadItem()
QTimer::singleShot( 0, this, SLOT( uploadNewItem() ) );
} else {
- kdDebug(5800)<<"We still have "<<mAddedItems.count()<<" changed items to \
upload"<<endl; + kdDebug(5800)<<"We still have "<<mChangedItems.count()<<" changed \
items to upload"<<endl; GroupwareUploadItem *item = mChangedItems.front();
if ( !item ) {
@@ -126,4 +126,5 @@ void GroupwareUploadJob::uploadItem()
if ( remote.isEmpty() ) {
mAddedItems.append( item );
+ mChangedItems.pop_front();
emit QTimer::singleShot( 0, this, SLOT( uploadItem() ) );
return;
@@ -168,5 +169,4 @@ void GroupwareUploadJob::uploadNewItem()
GroupwareUploadItem *item = mAddedItems.front();
if ( !item ) {
- delete mAddedItems.front();
mAddedItems.pop_front();
emit QTimer::singleShot( 0, this, SLOT( uploadNewItem() ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic