[Kde-pim] Re: the path was never set before
Guy Maurel
guy-kde at maurel.de
Thu Jun 30 17:43:44 BST 2011
Hello Kevin!
On Wednesday, June 29, 2011 07:41:29 PM Kevin Krammer wrote:
> Hi Guy,
>
> On Wednesday, 2011-06-29, Guy Maurel wrote:
> > 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".
>
> Indeed, it is always false on first start because the resource has not been
> configured yet.
> It will always be true once it has been configured and the file system wasn't
> changed (e.g. path moved or removed)
BUT, the migration runs only ONCE there!
(remember: I still not be abble to migrate and look what happens)
Thanks
--
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