From 560f7c93878e04366c4fd05fb1070f495bcbe252 Mon Sep 17 00:00:00 2001 From: Marco Gittler Date: Wed, 9 Jul 2008 18:10:05 +0000 Subject: [PATCH] fix audiothumb issue on resize of clip svn path=/branches/KDE4/; revision=2303 --- src/clipitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clipitem.cpp b/src/clipitem.cpp index 33b21f93..5497f4ca 100644 --- a/src/clipitem.cpp +++ b/src/clipitem.cpp @@ -343,7 +343,7 @@ void ClipItem::paint(QPainter *painter, if (startpixel < 0) startpixel = 0; - int endpixel = (int)option->exposedRect.right() - rect().x(); + int endpixel = (int)option->exposedRect.right(); if (endpixel < 0) endpixel = 0; -- 2.39.5