mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-24 18:03:53 +03:00
field QQuickItem pointers for Parabolic/EventsSink
--avoid crashes when the relevant destination/origin quickitems are deleted during their events processing
This commit is contained in:
parent
431ce6c6fa
commit
1b23e3669b
@ -65,8 +65,8 @@ private:
|
||||
private:
|
||||
QPointer<Latte::View> m_view;
|
||||
|
||||
QQuickItem *m_originItem{nullptr};
|
||||
QQuickItem *m_destinationItem{nullptr};
|
||||
QPointer<QQuickItem> m_originItem;
|
||||
QPointer<QQuickItem> m_destinationItem;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -57,9 +57,9 @@ private slots:
|
||||
|
||||
private:
|
||||
QPointer<Latte::View> m_view;
|
||||
QPointer<QQuickItem> m_currentParabolicItem;
|
||||
|
||||
QPointF m_lastOrphanParabolicMove;
|
||||
QQuickItem *m_currentParabolicItem{nullptr};
|
||||
|
||||
QTimer m_parabolicItemNullifier;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user