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

List:       kde-commits
Subject:    playground/office/pekunia/pekunia
From:       Ruurd Pels <ruurd () tiscali ! nl>
Date:       2005-07-31 23:08:36
Message-ID: 1122851316.408935.27721.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 441796 by ruurd:

Don't check for zero length

 M  +1 -1      admincodevalidator.cpp  


--- trunk/playground/office/pekunia/pekunia/admincodevalidator.cpp #441795:441796
@@ -40,7 +40,7 @@
 {
   QValidator::State result = QValidator::Acceptable; // Assume OK
   input = input.upper();
-  if ((input.length() == 0) || (input.length() > 10))
+  if (input.length() > 10)
   {
     result = QValidator::Invalid;
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

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