From 8db091fd280d5e965c90b2da4b26dd030e4b0f54 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 4 Oct 2010 11:38:07 -0300 Subject: Change "or" to "||". --- abstractmetabuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp index b0cbc24a0..f90729ce1 100644 --- a/abstractmetabuilder.cpp +++ b/abstractmetabuilder.cpp @@ -2092,7 +2092,7 @@ int AbstractMetaBuilder::findOutValueFromString(const QString& stringValue, bool if (ok) return value; - if (stringValue == "true" or stringValue == "false") { + if (stringValue == "true" || stringValue == "false") { ok = true; return (stringValue == "true"); } -- cgit v1.2.3