author | jgf <jgf> | 2003-12-17 19:07:13 (UTC) |
---|---|---|
committer | jgf <jgf> | 2003-12-17 19:07:13 (UTC) |
commit | f3389a1eeedce7be8638ba2f71476240a8a4fe0e (patch) (side-by-side diff) | |
tree | 1e40a61e7def07dc94603a453295f065a748e8ff | |
parent | a928f1fc8469124e10a7042846d258401e41f7d6 (diff) | |
download | opie-f3389a1eeedce7be8638ba2f71476240a8a4fe0e.zip opie-f3389a1eeedce7be8638ba2f71476240a8a4fe0e.tar.gz opie-f3389a1eeedce7be8638ba2f71476240a8a4fe0e.tar.bz2 |
open pop3 folder per default
-rw-r--r-- | noncore/net/mail/accountview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp index b6bf298..bc13336 100644 --- a/noncore/net/mail/accountview.cpp +++ b/noncore/net/mail/accountview.cpp @@ -1,40 +1,41 @@ #include "accountview.h" #include "mailtypes.h" #include "defines.h" /** * POP3 Account stuff */ POP3viewItem::POP3viewItem( POP3account *a, QListView *parent ) : AccountViewItem( parent ) { account = a; wrapper = AbstractMail::getWrapper( account ); setPixmap( 0, PIXMAP_POP3FOLDER ); setText( 0, account->getAccountName() ); + setOpen( true ); } POP3viewItem::~POP3viewItem() { delete wrapper; } AbstractMail *POP3viewItem::getWrapper() { return wrapper; } void POP3viewItem::refresh( QList<RecMail> & ) { QList<Folder> *folders = wrapper->listFolders(); QListViewItem *child = firstChild(); while ( child ) { QListViewItem *tmp = child; child = child->nextSibling(); delete tmp; } Folder *it; QListViewItem*item = 0; for ( it = folders->first(); it; it = folders->next() ) { |