mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace and coding style updates
Another futile attempt to cleanup the code and make coding style and whitespace consistent. I tried to add a file that describes the key points of our coding style. I have no illusions that this will help the least bit... This commit should ONLY change whitespace Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3387ccc6f6
commit
a27f67c026
28 changed files with 387 additions and 323 deletions
|
@ -29,9 +29,9 @@ void DiveTextItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* opti
|
|||
//
|
||||
// // if (internalAlignFlags & Qt::AlignLeft )
|
||||
// // painter->translate(); // This is the default, uneeded.
|
||||
// if(internalAlignFlags & Qt::AlignHCenter)
|
||||
// if (internalAlignFlags & Qt::AlignHCenter)
|
||||
// painter->translate(-rect.width()/2, 0);
|
||||
// else if(internalAlignFlags & Qt::AlignRight)
|
||||
// else if (internalAlignFlags & Qt::AlignRight)
|
||||
// painter->translate(-rect.width(), 0);
|
||||
|
||||
QGraphicsSimpleTextItem::paint(painter, option, widget);
|
||||
|
@ -45,4 +45,4 @@ void DiveTextItem::animatedHide()
|
|||
void DiveTextItem::animateMoveTo(qreal x, qreal y)
|
||||
{
|
||||
Animations::moveTo(this, x, y);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue