emailuis/nmailuiengine/src/nmmailboxlistmodel.cpp
changeset 27 9ba4404ef423
parent 18 578830873419
child 30 759dc5235cdb
--- a/emailuis/nmailuiengine/src/nmmailboxlistmodel.cpp	Fri May 14 15:41:10 2010 +0300
+++ b/emailuis/nmailuiengine/src/nmmailboxlistmodel.cpp	Thu May 27 12:43:55 2010 +0300
@@ -30,7 +30,7 @@
 /*!
     Constructor
  */
-NmMailboxListModel::NmMailboxListModel(NmDataManager &dataManager, QObject *parent) 
+NmMailboxListModel::NmMailboxListModel(NmDataManager &dataManager, QObject *parent)
 :QStandardItemModel(parent),
 mDataManager(dataManager)
 {
@@ -177,6 +177,7 @@
     NmMailboxMetaData *newMeta = new NmMailboxMetaData();
     newMeta->setId(mailbox->id());
     newMeta->setName(mailbox->name());
+    newMeta->setAddress(mailbox->address().address());
 
     NmMailboxListModelItem *item = new NmMailboxListModelItem();
     item->setItemMetaData(newMeta);