From kde-commits Sun Jul 31 23:08:36 2005 From: Ruurd Pels Date: Sun, 31 Jul 2005 23:08:36 +0000 To: kde-commits Subject: playground/office/pekunia/pekunia Message-Id: <1122851316.408935.27721.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112285133703924 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; }