author | alwin <alwin> | 2004-02-18 22:36:26 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-18 22:36:26 (UTC) |
commit | cfd235730a4619ae9181f0d78d78a7f9360ea49e (patch) (side-by-side diff) | |
tree | 6044d8213b5b794ef6d99c60667df17445d86b2d | |
parent | 71b6aa6d19ed2e4690cd98ecdb7dbfe40f857653 (diff) | |
download | opie-cfd235730a4619ae9181f0d78d78a7f9360ea49e.zip opie-cfd235730a4619ae9181f0d78d78a7f9360ea49e.tar.gz opie-cfd235730a4619ae9181f0d78d78a7f9360ea49e.tar.bz2 |
forgot member variable initializer
-rw-r--r-- | noncore/net/mail/libmailwrapper/settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/settings.cpp b/noncore/net/mail/libmailwrapper/settings.cpp index 3279f39..65ca387 100644 --- a/noncore/net/mail/libmailwrapper/settings.cpp +++ b/noncore/net/mail/libmailwrapper/settings.cpp @@ -80,64 +80,65 @@ void Settings::updateAccounts() accounts.append( account ); } readAccounts(); } void Settings::saveAccounts() { checkDirectory(); Account *it; for ( it = accounts.first(); it; it = accounts.next() ) { it->save(); } } void Settings::readAccounts() { checkDirectory(); Account *it; for ( it = accounts.first(); it; it = accounts.next() ) { it->read(); } } Account::Account() { accountName = "changeMe"; type = "changeMe"; ssl = false; connectionType = 1; + offline = false; } void Account::remove() { QFile file( getFileName() ); file.remove(); } IMAPaccount::IMAPaccount() : Account() { file = IMAPaccount::getUniqueFileName(); accountName = "New IMAP Account"; ssl = false; connectionType = 1; type = "IMAP"; port = IMAP_PORT; } IMAPaccount::IMAPaccount( QString filename ) : Account() { file = filename; accountName = "New IMAP Account"; ssl = false; connectionType = 1; type = "IMAP"; port = IMAP_PORT; } QString IMAPaccount::getUniqueFileName() { |