Linux: QVariant has no overload for size_t

This commit is contained in:
Magne Sjaastad 2013-10-22 11:28:14 +02:00
parent 631353cf97
commit 89cd331489

View File

@ -1794,6 +1794,6 @@ void RiuMainWindow::slotAddWellCellsToRangeFilterAction(bool doAdd)
{ {
caf::AppEnum<RimWellCollection::WellCellsRangeFilterType> rangeAddType; caf::AppEnum<RimWellCollection::WellCellsRangeFilterType> rangeAddType;
rangeAddType = doAdd ? RimWellCollection::RANGE_ADD_INDIVIDUAL : RimWellCollection::RANGE_ADD_NONE; rangeAddType = doAdd ? RimWellCollection::RANGE_ADD_INDIVIDUAL : RimWellCollection::RANGE_ADD_NONE;
riv->wellCollection()->wellCellsToRangeFilterMode.setValueFromUi(rangeAddType.index()); riv->wellCollection()->wellCellsToRangeFilterMode.setValueFromUi(static_cast<unsigned int>(rangeAddType.index()));
} }
} }