Merge pull request #574 from BaraMGB/songeditor

corrects the drag'n'drop behavior in the song editor.
This commit is contained in:
Tobias Doerffel
2014-04-06 22:29:56 +02:00

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