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

List:       kde-devel
Subject:    Smal fix for KSCD config.
From:       Knut.Johansson () kitron ! com
Date:       2001-08-31 14:16:33
[Download RAW message or body]

Fix for KSCDconfig, don't give error message when SMTP have been disabled
and no valid mail adress/reply to adress have been set in
kdeconfig->network->mail.

If already fixed in CVS HEAD and 2.2 BRANCH pleas ignore.

K.

--- kdemultimedia-2.2/kscd/smtpconfig.cpp     Thu Aug 30 20:06:26 2001
+++ kscd/smtpconfig.cpp  Thu Aug 30 17:57:51 2001
@@ -126,7 +126,7 @@
     configData->senderAddress = senderAddressEdit->text();
     configData->senderReplyTo = senderReplyToEdit->text();
     configData->mailProfile = mailProfileCombo->currentText();
-    if( (configData->serverHost == "") ||
(!configData->senderAddress.contains("@")))
+    if( enableCB->isChecked() && ((configData->serverHost == "") ||
(!configData->senderAddress.contains("@"))))
       {
     KMessageBox::sorry(this, i18n("freedb submissions via SMTP have been
disabled\n"
                          "because the E-Mail profile you selected is\n"

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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