| 616 | |
| 617 | |
| 618 | void 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 |