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

List:       kde-commits
Subject:    koffice/kexi/kexiutils
From:       Lorenzo Villani <lvillani () binaryhelix ! net>
Date:       2008-08-22 17:33:57
Message-ID: 1219426437.614507.10751.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 850971 by villani:

Comparison between signed and unsigned values
Fixed

 M  +1 -1      validator.cpp  


--- trunk/koffice/kexi/kexiutils/validator.cpp #850970:850971
@@ -70,7 +70,7 @@
 Validator::Result Validator::check(const QString &valueName, const QVariant& v,
                                    QString &message, QString &details)
 {
-    if (v.isNull() || v.type() == (QVariant::String && v.toString().isEmpty())) {
+    if (v.isNull() || v.type() == uint(QVariant::String && v.toString().isEmpty())) {
         if (!d->acceptsEmptyValue) {
             message = Validator::msgColumnNotEmpty().arg(valueName);
             return Error;
[prev in list] [next in list] [prev in thread] [next in thread] 

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