fixed move of TCO-selections
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@950 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-05-03 Tobias Dorffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/track.cpp:
|
||||
fixed move of TCO-selections
|
||||
|
||||
2008-04-30 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* src/gui/piano_roll.cpp:
|
||||
|
||||
@@ -488,12 +488,13 @@ void trackContentObjectView::mouseMoveEvent( QMouseEvent * _me )
|
||||
for( QVector<selectableObject *>::iterator it = so.begin();
|
||||
it != so.end(); ++it )
|
||||
{
|
||||
trackContentObject * tco =
|
||||
dynamic_cast<trackContentObject *>( *it );
|
||||
if( tco == NULL )
|
||||
trackContentObjectView * tcov =
|
||||
dynamic_cast<trackContentObjectView *>( *it );
|
||||
if( tcov == NULL )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
trackContentObject * tco = tcov->m_tco;
|
||||
tcos.push_back( tco );
|
||||
smallest_pos = tMin<Sint32>( smallest_pos,
|
||||
(Sint32)tco->startPosition() +
|
||||
|
||||
Reference in New Issue
Block a user