That doesn't even make sense. Now you not even attempting to update the line item anymore.

The ellipse items need to update the position of the line item, so they need the line item.

But instead of your previous attempt of changing some random temporary line value, you need to update the line item's value.

Lets have a look at some C++ basics
Qt Code:
  1. int a = 5;
  2. int b = a;
  3. b = 3;
  4. // which value does a have?
To copy to clipboard, switch view to plain text mode 

Cheers,
_