Commit 4aca93d1 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Build fix for Qt 4.5

parent c60e3771
......@@ -34,8 +34,11 @@ GraphicsCursorItem::GraphicsCursorItem( const QPen& pen ) :
m_pen( pen ), m_mouseDown( false )
{
setFlags( QGraphicsItem::ItemIgnoresTransformations |
QGraphicsItem::ItemIsMovable |
QGraphicsItem::ItemSendsGeometryChanges );
QGraphicsItem::ItemIsMovable );
#if QT_VERSION >= 0x040600
setFlag( QGraphicsItem::ItemSendsGeometryChanges );
#endif
setCursor( QCursor( Qt::SizeHorCursor ) );
setZValue( 100 );
......
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