GCC 4.7 fixes.

Thanks to David C. Rankin.
pull/1/head
Darrell Anderson 13 years ago
parent 1889a25462
commit 47da85fe98

@ -663,15 +663,16 @@ void K3bAudioEditorWidget::mousePressEvent( TQMouseEvent* e )
{
m_draggedRange = 0;
m_draggedMarker = 0;
bool end;
if( Range* r = findRangeEdge( e->pos(), &end ) ) {
Range* r = findRangeEdge( e->pos(), &end );
if (r) {
m_draggedRange = r;
m_draggingRangeEnd = end;
setSelectedRange( r );
}
else {
Range* r = findRange( e->pos() );
r = findRange( e->pos() );
d->movedRange = r;
d->lastMovePosition = posToMsf( e->pos().x() );
setSelectedRange( r );

Loading…
Cancel
Save