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()
|
void DeclarativeItemContainer::widthChanged()
|
||||||
{
|
{
|
||||||
if (!m_declarativeItem) {
|
if (!m_declarativeItem) {
|
||||||
|
@ -39,6 +39,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QGraphicsSceneResizeEvent *event);
|
void resizeEvent(QGraphicsSceneResizeEvent *event);
|
||||||
|
void mousePressEvent(QGraphicsSceneMouseEvent *event);
|
||||||
|
|
||||||
protected Q_SLOTS:
|
protected Q_SLOTS:
|
||||||
void widthChanged();
|
void widthChanged();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user