[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:30:57
Message-ID: 1219426257.360273.10602.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 850969 by villani:
validator.cpp:73: warning: suggest parentheses around && within ||
Fixed
M +1 -1 validator.cpp
--- trunk/koffice/kexi/kexiutils/validator.cpp #850968:850969
@@ -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() == (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