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

List:       kde-commits
Subject:    playground/network/telepathy-accounts-kcm-plugins/gabble
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2010-07-29 17:30:30
Message-ID: 20100729173030.719A1AC783 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1156786 by gberg:

Password is no longer mandatory.

 M  +3 -4      mandatory-parameters-widget.cpp  


--- trunk/playground/network/telepathy-accounts-kcm-plugins/gabble/mandatory-parameters-widget.cpp \
#1156785:1156786 @@ -129,12 +129,11 @@
 {
     kDebug();
 
-    // Check if both the password and account have been entered. If not, alert the \
                user.
-    if ((d->ui->passwordLineEdit->text().isEmpty()) ||
-        (d->ui->accountLineEdit->text().isEmpty())) {
+    // Username is currently the only required parameter
+    if (d->ui->accountLineEdit->text().isEmpty()) {
         kDebug() << "Returning false and alerting the user.";
 
-        KMessageBox::error(this, i18n("Please enter both a Jabber ID and a \
Password.")); +        KMessageBox::error(this, i18n("Please enter a Jabber ID."));
 
         return false;
     }


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

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