summaryrefslogtreecommitdiff
path: root/noncore/net/mail/editaccounts.cpp
authorharlekin <harlekin>2003-12-17 00:18:06 (UTC)
committer harlekin <harlekin>2003-12-17 00:18:06 (UTC)
commitfb054f9c69224e14f446f405098bd5166377f58d (patch) (side-by-side diff)
tree6c729398a7f69eedf5554aa3c2509784eb9806df /noncore/net/mail/editaccounts.cpp
parent30e3e50ecb912e93faeeafbfff36f8032a904b84 (diff)
downloadopie-fb054f9c69224e14f446f405098bd5166377f58d.zip
opie-fb054f9c69224e14f446f405098bd5166377f58d.tar.gz
opie-fb054f9c69224e14f446f405098bd5166377f58d.tar.bz2
new account, changed account etc are there now without a restart ,)
Diffstat (limited to 'noncore/net/mail/editaccounts.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/editaccounts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/editaccounts.cpp b/noncore/net/mail/editaccounts.cpp
index 1c80adb..1246037 100644
--- a/noncore/net/mail/editaccounts.cpp
+++ b/noncore/net/mail/editaccounts.cpp
@@ -91,12 +91,13 @@ void EditAccounts::slotNewAccount( const QString &type )
SMTPconfig smtp( account, this, 0, true );
smtp.showMaximized();
if ( QDialog::Accepted == smtp.exec() ) {
settings->addAccount( account );
account->save();
slotFillLists();
+
} else {
account->remove();
}
} else if ( type.compare( "NNTP" ) == 0 ) {
qDebug( "-> config NNTP" );
NNTPaccount *account = new NNTPaccount();