1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:49:56 +00:00

cleaned up some enum confusion

This commit is contained in:
Marc Zinnschlag 2015-01-15 12:01:59 +01:00
parent 375d426dd0
commit f3c7532660

View file

@ -27,7 +27,7 @@ bool CSMFilter::ValueNode::test (const CSMWorld::IdTableBase& table, int row,
QVariant data = table.data (index);
if (data.type()!=QVariant::Double && data.type()!=QVariant::Bool && data.type()!=QVariant::Int &&
data.type()!=QVariant::UInt && data.type()!=static_cast<QVariant::Type> (QMetaType::Float))
data.type()!=QVariant::UInt)
return false;
double value = data.toDouble();