Implemented QET coding style (replaced 4 space with tab)

This commit is contained in:
Adrien Allain
2021-09-13 21:00:44 +02:00
committed by Laurent Trinques
parent c640d96bca
commit ccfb46b354
10 changed files with 83 additions and 83 deletions

View File

@@ -605,14 +605,14 @@ void PartLine::setSecondEndLength(const qreal &l)
void PartLine::setRotation(qreal angle) {
QTransform rotation = QTransform().translate(m_line.p1().x(),m_line.p1().y()).rotate(angle-m_rot).translate(-m_line.p1().x(),-m_line.p1().y());
m_rot=angle;
QTransform rotation = QTransform().translate(m_line.p1().x(),m_line.p1().y()).rotate(angle-m_rot).translate(-m_line.p1().x(),-m_line.p1().y());
m_rot=angle;
setLine(rotation.map(m_line));
setLine(rotation.map(m_line));
}
qreal PartLine::rotation() const {
return m_rot;
return m_rot;
}