corrects the drag'n'drop behavior in the song editor.

This commit is contained in:
Steffen Baranowsky
2014-04-06 22:18:33 +02:00
parent 49cfbda916
commit 61c5738582

View File

@@ -1120,7 +1120,7 @@ void trackContentWidget::dropEvent( QDropEvent * _de )
m_trackView->trackContainerView()->fixedTCOs() == false )
{
const MidiTime pos = getPosition( _de->pos().x()
).toNearestTact();
).getTact() * MidiTime::ticksPerTact();
trackContentObject * tco = getTrack()->createTCO( pos );
// value contains our XML-data so simply create a