Tool line was not compatible with a background image.
This commit is contained in:
parent
94e7c7d612
commit
750c31dcd8
|
@ -72,7 +72,6 @@ VToolLine::VToolLine(const VToolLineInitData &initData, QGraphicsItem *parent)
|
||||||
this->m_lineType = initData.typeLine;
|
this->m_lineType = initData.typeLine;
|
||||||
//Line
|
//Line
|
||||||
RefreshGeometry();
|
RefreshGeometry();
|
||||||
this->setFlag(QGraphicsItem::ItemStacksBehindParent, true);
|
|
||||||
this->setFlag(QGraphicsItem::ItemIsFocusable, true);// For keyboard input focus
|
this->setFlag(QGraphicsItem::ItemIsFocusable, true);// For keyboard input focus
|
||||||
this->setAcceptHoverEvents(m_acceptHoverEvents);
|
this->setAcceptHoverEvents(m_acceptHoverEvents);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user