[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdepim/enterprise/kdepim/kmail
From:       Allen Winter <winter () kde ! org>
Date:       2010-10-03 23:31:05
Message-ID: 20101003233105.61803AC88C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1182243 by winterz:

another check for folder() non-null in the debug output
MERGE: none



 M  +4 -0      kmfoldercachedimap.cpp  


--- branches/kdepim/enterprise/kdepim/kmail/kmfoldercachedimap.cpp #1182242:1182243
@@ -471,8 +471,12 @@
     return 0;
   }
   if ( GlobalSettings::self()->mailLossDebug() ) {
+    if ( folder() ) {
     kdDebug(5006) << "Writing out UID cache lastuid: " << lastUid()  << " in: " << \
folder()->prettyURL() << endl; +    } else {
+      kdDebug(5006) << "CANNOT WRITE OUT UID cache lastuid since folder() is NULL" \
<< endl;  }
+  }
   QFile uidcache( uidCacheLocation() );
   if( uidcache.open( IO_WriteOnly ) ) {
     QTextStream str( &uidcache );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic