Changeset 4185cb4 in OpenModelica


Ignore:
Timestamp:
2021-06-08T13:48:23+02:00 (3 years ago)
Author:
Adeel Asghar <adeel.asghar@…>
Parents:
3a66b01
Message:

Fix compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditLIB/Annotations/LineAnnotation.cpp

    r3a66b01 r4185cb4  
    977977      if (secondLastIndex < mGeometries.size()) {
    978978        if (mGeometries.at(secondLastIndex) == ShapeAnnotation::HorizontalLine) {
    979           mPoints.at(secondLastIndex) = QPointF(mPoints.at(secondLastIndex).x(), mPoints.at(secondLastIndex).y() + dy);
     979          mPoints[secondLastIndex] = QPointF(mPoints.at(secondLastIndex).x(), mPoints.at(secondLastIndex).y() + dy);
    980980        } else if (mGeometries.at(secondLastIndex) == ShapeAnnotation::VerticalLine) {
    981           mPoints.at(secondLastIndex) = QPointF(mPoints.at(secondLastIndex).x() + dx, mPoints.at(secondLastIndex).y());
     981          mPoints[secondLastIndex] = QPointF(mPoints.at(secondLastIndex).x() + dx, mPoints.at(secondLastIndex).y());
    982982        }
    983983        updateCornerItem(secondLastIndex);
Note: See TracChangeset for help on using the changeset viewer.