| 156 | } |
| 157 | |
| 158 | void ReferenceRangeDock::positionLogicalEndChanged(double pos) { |
| 159 | CONDITIONAL_LOCK_RETURN; |
| 160 | |
| 161 | for (auto* range : m_rangeList) { |
| 162 | auto positionLogical = range->positionLogicalEnd(); |
| 163 | if (range->orientation() == ReferenceRange::Orientation::Horizontal) |
| 164 | positionLogical.setY(pos); |
| 165 | else |
| 166 | positionLogical.setX(pos); |
| 167 | range->setPositionLogicalEnd(positionLogical); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | void ReferenceRangeDock::positionLogicalDateTimeStartChanged(qint64 pos) { |
| 172 | CONDITIONAL_RETURN_NO_LOCK; // Feedback needed |
nothing calls this directly
no test coverage detected