"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gui/widgets/Rubberband.cpp" between
lmms_1.2.0.tar.xz and lmms_1.2.1.tar.xz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support).

Rubberband.cpp  (lmms_1.2.0.tar.xz):Rubberband.cpp  (lmms_1.2.1.tar.xz)
skipping to change at line 58 skipping to change at line 58
{ {
++it; ++it;
} }
} }
return( so ); return( so );
} }
void RubberBand::resizeEvent( QResizeEvent * _re ) void RubberBand::resizeEvent( QResizeEvent * _re )
{ {
QRubberBand::resizeEvent( _re ); QRubberBand::resizeEvent( _re );
if( isEnabled() )
{
QVector<selectableObject *> so = selectableObjects();
for( QVector<selectableObject *>::iterator it = so.begin();
it != so.end(); +
+it )
{
( *it )->setSelected( QRect( pos(), size() ).intersects(
QRect( ( *it )->mapTo( parentWidget(),
QPoint()
),
( *it )->size() )
) );
}
}
} }
QVector<selectableObject *> RubberBand::selectableObjects() const QVector<selectableObject *> RubberBand::selectableObjects() const
{ {
QVector<selectableObject *> so; QVector<selectableObject *> so;
if( parentWidget() == NULL ) if( parentWidget() == NULL )
{ {
return( so ); return( so );
} }
 End of changes. 1 change blocks. 
15 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)