Mercurial > hg > easyhg
comparison src/changesetdetailitem.cpp @ 400:07eaf4e6003a
Merge from branch "item_appearance_adjustments"
author | Chris Cannam |
---|---|
date | Wed, 25 May 2011 14:59:09 +0100 |
parents | 7ef46fb73b48 |
children | 75003687f364 |
comparison
equal
deleted
inserted
replaced
385:5cc0d897eb26 | 400:07eaf4e6003a |
---|---|
84 m_doc->setTextWidth(width); | 84 m_doc->setTextWidth(width); |
85 int height = m_doc->size().height(); | 85 int height = m_doc->size().height(); |
86 | 86 |
87 QRectF r(0.5, 0.5, width - 1, height - 1); | 87 QRectF r(0.5, 0.5, width - 1, height - 1); |
88 paint->setBrush(Qt::white); | 88 paint->setBrush(Qt::white); |
89 paint->drawRect(r); | 89 paint->drawRoundedRect(r, 10, 10); |
90 | 90 |
91 if (scale < 0.1) { | 91 if (scale < 0.1) { |
92 paint->restore(); | 92 paint->restore(); |
93 return; | 93 return; |
94 } | 94 } |