GCC 4.7 fixes.

Thanks to David C. Rankin.
(cherry picked from commit 47da85fe98)
v3.5.13-sru
Darrell Anderson 13 years ago committed by Slávek Banko
parent 466108ad38
commit c0c6d6299c

@ -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