On Monday, 10 June 2013 21:40:05 CEST, Ahmed Ibrahim Khalil wrote:
I don't think that I've made something that could fire that assertion, I
even used the ImapAccess inside the QMLSupport/ModelGlue and just added
m_imapModel->rowCount(QModelIndex()); at the of the setSslMode method.
To force the model to begin retrieve the Mailboxes and the message.
Could that line changed how the model works ? I don' myself think that I
did something wrong.
You should not have done that. Your BB-specific model should ask for the number
of messages when *it* is first asked, and create items on-the-fly in response
to rowsAboutToBeInserted/rowsInserted.
That said, I don't see an obvious connection, either. But you have the code,
you have the setup and therefore you hav eto investigate what's going on. I'm
afraid I cannot help here in other way than suggesting what to check, and
that's what I'm doing here.
Cheers,
Jan
--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/