[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:58:15 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=ae8ffad

The following commit has been merged in the master branch:
commit ae8ffadc7daa6424d499f79d6321b3586d050c53
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Thu Jul 29 17:30:30 2010 +0000

    Password is no longer mandatory.
    
    svn path=/trunk/playground/network/telepathy-accounts-kcm-plugins/; revision=1156786
---
 gabble/mandatory-parameters-widget.cpp | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gabble/mandatory-parameters-widget.cpp b/gabble/mandatory-parameters-widget.cpp
index 47aa4a6..27d8967 100644
--- a/gabble/mandatory-parameters-widget.cpp
+++ b/gabble/mandatory-parameters-widget.cpp
@@ -129,12 +129,11 @@ bool MandatoryParametersWidget::validateParameterValues()
 {
     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;
     }

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list