mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Implemented QET coding style (replaced 4 space with tab)
This commit is contained in:
committed by
Laurent Trinques
parent
c640d96bca
commit
ccfb46b354
@@ -173,14 +173,14 @@ void PartRectangle::setYRadius(qreal Y)
|
||||
|
||||
void PartRectangle::setRotation(qreal angle) {
|
||||
|
||||
QTransform rotation = QTransform().rotate(angle-m_rot);
|
||||
m_rot=angle;
|
||||
QTransform rotation = QTransform().rotate(angle-m_rot);
|
||||
m_rot=angle;
|
||||
|
||||
setRect(rotation.mapRect(m_rect));
|
||||
setRect(rotation.mapRect(m_rect));
|
||||
}
|
||||
|
||||
qreal PartRectangle::rotation() const {
|
||||
return m_rot;
|
||||
return m_rot;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user