[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/flake
From: Thorsten Zachmann <t.zachmann () zagge ! de>
Date: 2007-09-01 9:16:15
Message-ID: 1188638175.829922.28048.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 707219 by zachmann:
o refactor to reuse code
M +1 -7 KoShape.cpp
--- trunk/koffice/libs/flake/KoShape.cpp #707218:707219
@@ -346,13 +346,7 @@
void KoShape::repaint() const {
if ( !d->shapeManagers.empty() )
{
- QRectF rect(QPointF(0, 0), size() );
- if(d->border) {
- KoInsets insets;
- d->border->borderInsets(this, insets);
- rect.adjust(-insets.left, -insets.top, insets.right, insets.bottom);
- }
- rect = absoluteTransformation(0).mapRect(rect);
+ QRectF rect( boundingRect() );
foreach( KoShapeManager * manager, d->shapeManagers )
manager->repaint( rect, this, true );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic