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

List:       kde-commits
Subject:    playground/network/telepathy-accounts-kcm/src
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2010-09-22 14:24:05
Message-ID: 20100922142405.BB43CAC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1178250 by gberg:

Hack the Hack to make it not crash when using a CM where password is mandatory.

 M  +2 -0      add-account-assistant.cpp  


--- trunk/playground/network/telepathy-accounts-kcm/src/add-account-assistant.cpp #1178249:1178250
@@ -162,10 +162,12 @@
         }
 
         // If the password parameter is optional, add it to the mandatory lot for now instead.
+        if (passwordParameter) {
         optionalParameters.removeAll(passwordParameter);
         optionalParametersLeft.removeAll(passwordParameter);
         mandatoryParameters.append(passwordParameter);
         mandatoryParametersLeft.append(passwordParameter);
+        }
 
         // HACK ends
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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