MCPcopy Create free account
hub / github.com/LMMS/lmms / mouseReleaseEvent

Method mouseReleaseEvent

src/tracks/SampleTrack.cpp:442–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440
441
442void SampleTCOView::mouseReleaseEvent(QMouseEvent *_me)
443{
444 if( _me->button() == Qt::MiddleButton && !_me->modifiers() )
445 {
446 SampleTCO * sTco = dynamic_cast<SampleTCO*>( getTrackContentObject() );
447 if( sTco )
448 {
449 sTco->playbackPositionChanged();
450 }
451 }
452 TrackContentObjectView::mouseReleaseEvent( _me );
453}
454
455
456

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected