summaryrefslogtreecommitdiffstats
path: root/redhat/applications/k3b/k3b-3.5.13-fix_Range_r_3-gcc47.patch
diff options
context:
space:
mode:
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.patch22
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 );