Diffstat (limited to 'noncore/net/mail/accountview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/accountview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp index 2ddf834..c2185f2 100644 --- a/noncore/net/mail/accountview.cpp +++ b/noncore/net/mail/accountview.cpp | |||
@@ -72,12 +72,19 @@ void AccountView::populate( QList<Account> list ) | |||
72 | { | 72 | { |
73 | POP3account *pop3 = static_cast<POP3account *>(it); | 73 | POP3account *pop3 = static_cast<POP3account *>(it); |
74 | qDebug( "added POP3 " + pop3->getAccountName() ); | 74 | qDebug( "added POP3 " + pop3->getAccountName() ); |
75 | /* must not be hold 'cause it isn't required */ | 75 | /* must not be hold 'cause it isn't required */ |
76 | (void) new POP3viewItem( pop3, this ); | 76 | (void) new POP3viewItem( pop3, this ); |
77 | } | 77 | } |
78 | else if ( it->getType().compare( "NNTP" ) == 0 ) | ||
79 | { | ||
80 | NNTPaccount *nntp = static_cast<NNTPaccount *>(it); | ||
81 | qDebug( "added NNTP " + nntp->getAccountName() ); | ||
82 | /* must not be hold 'cause it isn't required */ | ||
83 | (void) new NNTPviewItem( nntp, this ); | ||
84 | } | ||
78 | } | 85 | } |
79 | } | 86 | } |
80 | 87 | ||
81 | void AccountView::refresh(QListViewItem *item) | 88 | void AccountView::refresh(QListViewItem *item) |
82 | { | 89 | { |
83 | 90 | ||