Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing a bug : Salome GUI style needs addLibraryPath() method to be called
[modules/gui.git]
/
src
/
Qtx
/
QtxStdOperations.cxx
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;