diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:07:09 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:07:09 +0200 |
commit | bd0c3694a5c87aeb902130b18721ad35212ea445 (patch) | |
tree | 5437727d64073d0b35e7a9e07dd4e61cb1c42f35 /redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch | |
parent | d758162a92398031a675f5fd7a2411c89710e9ed (diff) | |
download | tde-packaging-bd0c3694a5c87aeb902130b18721ad35212ea445.tar.gz tde-packaging-bd0c3694a5c87aeb902130b18721ad35212ea445.zip |
RHEL/Fedora: updates K3B for GCC 4.7
Diffstat (limited to 'redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch')
-rw-r--r-- | redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch b/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch new file mode 100644 index 000000000..3de442b61 --- /dev/null +++ b/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch @@ -0,0 +1,22 @@ +--- k3b/src/projects/k3baudioeditorwidget.cpp ++++ k3b/src/projects/k3baudioeditorwidget.cpp 2012-04-18 16:48:00.794902506 -0500 +@@ -663,15 +663,16 @@ + { + 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 ); |