[Kde-pim] Review Request: imap resource: Should call AgentBase::setNeedsNetwork() in the ctor

Sergio Luis Martins iamsergio at gmail.com
Sat Nov 12 06:50:38 GMT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103112/
-----------------------------------------------------------

Review request for KDEPIM.


Description
-------

The imap resource doesn't call AgentBase::setNeedsNetwork() unless you use the configuration dialog.

Right now, when the network goes down, the resource continues online and tries to retrieve mail, then hangs on an error state until you toggle "Work offline" in kmail.

This patch fixes that.


Diffs
-----

  resources/imap/imapresource.cpp 46dbad4 

Diff: http://git.reviewboard.kde.org/r/103112/diff/diff


Testing
-------


Thanks,

Sergio Luis Martins

_______________________________________________
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