[Kde-pim] the path was never set before

Guy Maurel guy-kde at maurel.de
Wed Jun 29 18:08:56 BST 2011


Hello Kevin!

I have a problem with the mixedmaildirresource:

At the line mixedmaildirresource.cpp:88, there is an "if":
  if ( ensureSaneConfiguration() ) {

This is a call of the method "bool MixedMaildirResource::ensureSaneConfiguration()"
which has an "if":                                                               
  if ( Settings::self()->path().isEmpty() ) {                                    
     const QString message = i18nc( "@info:status", "No usable storage location configured.");
     kError() << message;                                                        
     status( Broken, message );                                                  
     return false;                                                               
  }                                                                              
                                                                                 
I mean, the path was *never* set before, the return will be all the time "false".
                                                                                 
Any explanation for that?                                                        
Thank for helping.    
-- 
guy
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list