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

Method dropEvent

plugins/patman/patman.cpp:618–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617
618void PatmanView::dropEvent( QDropEvent * _de )
619{
620 QString type = StringPairDrag::decodeKey( _de );
621 QString value = StringPairDrag::decodeValue( _de );
622 if( type == "samplefile" )
623 {
624 m_pi->setFile( value );
625 _de->accept();
626 return;
627 }
628
629 _de->ignore();
630}
631
632
633

Callers

nothing calls this directly

Calls 2

setFileMethod · 0.80
acceptMethod · 0.45

Tested by

no test coverage detected