Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae25995
)
Fix of error: if rule contains part "<string> in <set of strings>", this part was...
author
asl
<asl@opencascade.com>
Thu, 9 Jun 2005 11:10:54 +0000
(11:10 +0000)
committer
asl
<asl@opencascade.com>
Thu, 9 Jun 2005 11:10:54 +0000
(11:10 +0000)
src/Qtx/QtxStdOperations.cxx
patch
|
blob
|
history
diff --git
a/src/Qtx/QtxStdOperations.cxx
b/src/Qtx/QtxStdOperations.cxx
index c87990d3048be37a58dafcf0b7f3ed6c55bdef6a..5301bfef8fd7d7d35d97b1d19f4fa045a3a1fa29 100644
(file)
--- a/
src/Qtx/QtxStdOperations.cxx
+++ b/
src/Qtx/QtxStdOperations.cxx
@@
-796,7
+796,10
@@
QtxParser::Error QtxSets::calculate( const QString& op, QtxValue& v1, QtxValue&
set( v1, res );
}
else
- v1 = v2.toList().contains( v1 );
+ {
+ const QValueList< QVariant >& list = v2.toList();
+ v1 = ( bool )( list.find( v1 )!=list.end() );
+ }
}
return err;