Skip to content
Permalink
Browse files

Initialize QgsComposerMap::mItemPositionLocked properly

git-svn-id: http://svn.osgeo.org/qgis/trunk@11458 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Aug 20, 2009
1 parent 58a6f79 commit c53c03841ed12c9b6d7c45419208000e0ace6a83
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/composer/qgscomposeritem.cpp
@@ -52,7 +52,8 @@ QgsComposerItem::QgsComposerItem( QgsComposition* composition, bool manageZValue
}
}

QgsComposerItem::QgsComposerItem( qreal x, qreal y, qreal width, qreal height, QgsComposition* composition, bool manageZValue ): QGraphicsRectItem( 0, 0, width, height, 0 ), mComposition( composition ), mBoundingResizeRectangle( 0 ), mFrame( true )
QgsComposerItem::QgsComposerItem( qreal x, qreal y, qreal width, qreal height, QgsComposition* composition, bool manageZValue ): \
QGraphicsRectItem( 0, 0, width, height, 0 ), mComposition( composition ), mBoundingResizeRectangle( 0 ), mFrame( true ), mItemPositionLocked( false )
{
setFlag( QGraphicsItem::ItemIsSelectable, true );
setAcceptsHoverEvents( true );

0 comments on commit c53c038

Please sign in to comment.
You can’t perform that action at this time.