Merged revisions 785316 via svnmerge from

svn+ssh://pradeepto@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim

........
  r785316 | ahartmetz | 2008-03-14 01:14:33 +0530 (Fri, 14 Mar 2008) | 1 line
  
  readability++
........

svn path=/branches/kdepim/enterprise4/kdepim/; revision=856089
wilder-work
Pradeepto Bhattacharya 18 years ago
parent dc10145485
commit ae123a9fba
  1. 4
      kmailicalifaceimpl.cpp
  2. 2
      kmkernel.cpp

@ -1401,7 +1401,7 @@ void KMailICalIfaceImpl::folderContentsTypeChanged( KMFolder* folder,
// Notify that the old folder resource is no longer available
emit subresourceDeleted( folderContentsType( folder->storage()->contentsType() ), location );
if ( contentsType == 0 ) {
if ( contentsType == KMail::ContentsTypeMail ) {
// Delete the old entry, stop listening and stop here
delete mExtraFolders.take( location );
folder->disconnect( this );
@ -1411,7 +1411,7 @@ void KMailICalIfaceImpl::folderContentsTypeChanged( KMFolder* folder,
} else {
if ( ef && !ef->folder ) // deleted folder, clean up
delete mExtraFolders.take( location );
if ( contentsType == 0 )
if ( contentsType == KMail::ContentsTypeMail )
return;
//kDebug() << "registering" << location <<" as extra folder";

@ -1469,7 +1469,7 @@ void KMKernel::init()
mBackgroundTasksTimer->setSingleShot( true );
connect( mBackgroundTasksTimer, SIGNAL( timeout() ), this, SLOT( slotRunBackgroundTasks() ) );
#ifdef DEBUG_SCHEDULER // for debugging, see jobscheduler.h
mBackgroundTasksTimer->start( 10000 ); // 10s minute, singleshot
mBackgroundTasksTimer->start( 10000 ); // 10s, singleshot
#else
mBackgroundTasksTimer->start( 5 * 60000 ); // 5 minutes, singleshot
#endif

Loading…
Cancel
Save