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

List:       kde-pim
Subject:    Re: [Kde-pim] Can there ever not be a KMKernel?
From:       laurent Montel <montel () kde ! org>
Date:       2014-05-04 13:27:28
Message-ID: 11113373.mYMolEJWHr () linux-19td
[Download RAW message or body]

On dimanche 4 mai 2014 13:59:47 Jonathan Marten wrote:
> I've been looking at how KMail stores its configuration for the
> Akonadi agents that it manages for receiving accounts - check mail on
> startup, offline on exit etc.  This is used by KMKernel and the GUI is
> in configuredialog/configureaccountpage.cpp.  What doesn't seem to
> make sense is that in that file, in AccountsPage::ReceivingTab::save
> and AccountsPageReceivingTab::slotShowMailCheckMenu, there is code to
> handle the case where no KMKernel exists and access the kmail2rc
> config file directly.
> 
> Can this situation ever happen?  I've looked at and tried out all of
> the possible ways to get to the KMail settings, including via Kontact,
> and a KMKernel always exists at this point.  If it is possible to
> always rely on the presence of a KMKernel, then this code could be
> cleaned up and some duplication eliminated.
> 
> Kind regards, Jonathan

Yes it can when you start kontact without kmail plugins and you activate it 
after that.

So don't clean up.
Thanks

-- 
Laurent Montel | laurent.montel@kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53,  http://www.kdab.fr


_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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