Commit e76f75ad authored by Thomas Zander's avatar Thomas Zander

Fixes: zindex never got negative anymore.

Details: silly thing, an uint -> int rename fixes this ;)

svn path=/trunk/koffice/; revision=949463
parent c076f150
......@@ -136,15 +136,14 @@ public:
QMap<QByteArray, QString> additionalStyleAttributes;
QList<KoEventAction *> eventActions; ///< list of event actions the shape has
uint zIndex : 10; // should be enough ;)
uint visible : 1;
uint printable : 1;
uint locked : 1;
uint keepAspect : 1;
uint selectable : 1;
uint detectCollision : 1;
uint protectContent : 1;
uint reserved : 15; // for future extensions, keep total bits used 32!
int zIndex : 14; // should be enough ;)
int visible : 1;
int printable : 1;
int locked : 1;
int keepAspect : 1;
int selectable : 1;
int detectCollision : 1;
int protectContent : 1;
};
KoShape::KoShape()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment