[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2004-01-22 20:51:57
Message-ID: 20040122205157.2F5B226C8 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Don't attempt to check what the server supports if there is no server
or no port specified. In HEAD we'll pop up a dialog informing the user
to specify them.

CCMAIL: 73067@bugs.kde.org


  M +4 -0      accountdialog.cpp   1.138.2.1


--- kdepim/kmail/accountdialog.cpp  #1.138:1.138.2.1
@@ -1238,4 +1238,6 @@ void AccountDialog::slotImapEncryptionCh
 void AccountDialog::slotCheckPopCapabilities()
 {
+  if ( mPop.hostEdit->text().isEmpty() || mPop.portEdit->text().isEmpty() )
+     return;
   delete mServerTest;
   mServerTest = new KMServerTest("pop3", mPop.hostEdit->text(),
@@ -1249,4 +1251,6 @@ void AccountDialog::slotCheckPopCapabili
 void AccountDialog::slotCheckImapCapabilities()
 {
+  if ( mImap.hostEdit->text().isEmpty() || mImap.portEdit->text().isEmpty() )
+     return;
   delete mServerTest;
   mServerTest = new KMServerTest("imap", mImap.hostEdit->text(),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic