Diffstat (limited to 'noncore/net/mail/opiemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/opiemail.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/net/mail/opiemail.cpp b/noncore/net/mail/opiemail.cpp index 93f3bb7..740e4cf 100644 --- a/noncore/net/mail/opiemail.cpp +++ b/noncore/net/mail/opiemail.cpp | |||
@@ -6,9 +6,9 @@ OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) | |||
6 | : MainWindow( parent, name, flags ) | 6 | : MainWindow( parent, name, flags ) |
7 | { | 7 | { |
8 | settings = new Settings(); | 8 | settings = new Settings(); |
9 | 9 | ||
10 | folderView->populate( settings->getAccounts() ); | 10 | folderView->populate( settings->getAccounts() ); |
11 | 11 | ||
12 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); | 12 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); |
13 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); | 13 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); |
14 | connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); | 14 | connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); |
@@ -47,4 +47,9 @@ void OpieMail::slotEditAccounts() | |||
47 | eaDialog.showMaximized(); | 47 | eaDialog.showMaximized(); |
48 | eaDialog.slotAdjustColumns(); | 48 | eaDialog.slotAdjustColumns(); |
49 | eaDialog.exec(); | 49 | eaDialog.exec(); |
50 | if ( settings ) delete settings; | ||
51 | settings = new Settings(); | ||
52 | |||
53 | folderView->populate( settings->getAccounts() ); | ||
50 | } | 54 | } |
55 | |||