[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/plugins/defaultTools/defaulttool
From: Carlos Licea <carlos_licea () hotmail ! com>
Date: 2010-07-31 6:01:08
Message-ID: 20100731060108.CD593AC783 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1157461 by clicea:
Revert "Adapt the defaultTools to the new properties of size and position"
This reverts commit 1469f75d7dc9d645d9c584c836146f8c25fbbaa3.
M +1 -1 ShapeMoveStrategy.cpp
M +1 -1 ShapeResizeStrategy.cpp
--- trunk/koffice/plugins/defaultTools/defaulttool/ShapeMoveStrategy.cpp \
#1157460:1157461 @@ -40,7 +40,7 @@
QList<KoShape*> selectedShapes = \
tool->canvas()->shapeManager()->selection()->selectedShapes(KoFlake::TopLevelSelection);
QRectF boundingRect;
foreach(KoShape *shape, selectedShapes) {
- if (! shape->isEditable() || shape->isPositionProtected())
+ if (! shape->isEditable())
continue;
m_selectedShapes << shape;
m_previousPositions << shape->position();
--- trunk/koffice/plugins/defaultTools/defaulttool/ShapeResizeStrategy.cpp \
#1157460:1157461 @@ -40,7 +40,7 @@
Q_ASSERT(tool->canvas()->shapeManager()->selection()->count() > 0);
QList<KoShape*> selectedShapes = \
tool->canvas()->shapeManager()->selection()->selectedShapes(KoFlake::StrippedSelection);
foreach(KoShape *shape, selectedShapes) {
- if ( ! shape->isEditable() || shape->isSizeProtected())
+ if ( ! shape->isEditable() )
continue;
m_selectedShapes << shape;
m_startPositions << shape->position();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic