Commit d3e406d1 authored by David Thompson's avatar David Thompson
Browse files

Use `ToDouble` instead of `ToNumeric`.

Change-Id: I9317884de3a3291f1f37de17948e1acd1cbe6181
parent dedfc89f
......@@ -126,8 +126,8 @@ protected:
vtkVariant y( other.data( column, Qt::DisplayRole ).toString().toAscii().data() );
double dx, dy;
bool vx, vy;
dx = x.ToNumeric( &vx, &dx );
dy = y.ToNumeric( &vy, &dy );
dx = x.ToDouble( &vx );
dy = y.ToDouble( &vy );
if ( vx && vy )
{
return dx < dy;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment