ignore mouse presses
BUG: 288827
This commit is contained in:
parent
2fdf11eabf
commit
f9c777c0ca
@ -59,6 +59,11 @@ void DeclarativeItemContainer::resizeEvent(QGraphicsSceneResizeEvent *event)
|
||||
}
|
||||
}
|
||||
|
||||
void DeclarativeItemContainer::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
{
|
||||
event->ignore();
|
||||
}
|
||||
|
||||
void DeclarativeItemContainer::widthChanged()
|
||||
{
|
||||
if (!m_declarativeItem) {
|
||||
|
@ -39,6 +39,7 @@ public:
|
||||
|
||||
protected:
|
||||
void resizeEvent(QGraphicsSceneResizeEvent *event);
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent *event);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void widthChanged();
|
||||
|
Loading…
Reference in New Issue
Block a user