[Kde-pim] Review Request 114365: Restore FolderTreeView state after Akonadi restart
Dan Vrátil
dvratil at redhat.com
Mon Dec 9 16:19:02 GMT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114365/
-----------------------------------------------------------
(Updated Dec. 9, 2013, 5:19 p.m.)
Review request for KDEPIM and Laurent Montel.
Changes
-------
Selected the folder that was selected before Akonadi was restarted
The original version of this patch restored selection that was stored on last KMail shutdown.
Since readConfig() is called before restoreCollectionFolderViewConfig(), it's safe to move the collection selection into there.
Repository: kdepim
Description
-------
Call KMMainWidget::restoreCollectionFolderViewConfig() when the underlaying model is reset, so that I don't have to expand all folders every time I restart Akonadi and forget to quit KMail :-)
Diffs (updated)
-----
kmail/kmmainwidget.h 609efa0
kmail/kmmainwidget.cpp ce531dd
Diff: http://git.reviewboard.kde.org/r/114365/diff/
Testing
-------
Restarted Akonadi a few times, folders were expanded correctly every time.
Thanks,
Dan Vrátil
_______________________________________________
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