[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] messagelist folder switching
From: David Faure <faure () kde ! org>
Date: 2013-05-13 22:59:02
Message-ID: 2798363.ckItXLET0D () asterix
[Download RAW message or body]
On Tuesday 14 May 2013 00:46:54 David Faure wrote:
> I'm not sure what the next step is, though. How to switch to
> another folder in the messagelist. setRootIndex()?
Actually the code for that is also already there: Pane::setCurrentFolder()
It turns out that my problems are made worse by using the favorites view.
When clicking on a folder there, it selects it in the folder tree, but doesn't
end up calling Pane::setCurrentFolder().
Not that it works when using the folder tree either,
MessageList::Core::Manager::savePreSelectedMessageForStorageModelId is called
too late, after all the messages have been removed, probably as a result of my
speed optimization (deselect before select, i.e. clear before insert). Which
again comes back to "can I get rid of the selectionproxymodel", then this
won't happen anymore.
--
David Faure, faure@kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5
_______________________________________________
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