Use MEMBER, not WRITE for mouseHotspot Q_PROPERTYs (#5955)

* Use MEMBER, not WRITE for mouseHotspot Q_PROPERTYs

* Remove now-useless setMouseHotspot methods
This commit is contained in:
Spekular
2021-03-19 14:22:42 +01:00
committed by GitHub
parent 0967ffbc3a
commit 5ad034ade3
2 changed files with 2 additions and 14 deletions

View File

@@ -248,16 +248,6 @@ void TrackContentObjectView::setBBPatternBackground( const QColor & c )
void TrackContentObjectView::setGradient( const bool & b )
{ m_gradient = b; }
void TrackContentObjectView::setMouseHotspotHand(const QSize & s)
{
m_mouseHotspotHand = s;
}
void TrackContentObjectView::setMouseHotspotKnife(const QSize & s)
{
m_mouseHotspotKnife = s;
}
// access needsUpdate member variable
bool TrackContentObjectView::needsUpdate()
{ return m_needsUpdate; }