From 85f14002a66e06b230b35a01f58c4c70a570d517 Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Mon, 14 Mar 2016 07:25:37 +0100 Subject: [PATCH] Fix for media item toolbar not grabbable --- src/domain/UBGraphicsItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/UBGraphicsItemDelegate.cpp b/src/domain/UBGraphicsItemDelegate.cpp index f78ae771..248f8c28 100644 --- a/src/domain/UBGraphicsItemDelegate.cpp +++ b/src/domain/UBGraphicsItemDelegate.cpp @@ -1331,7 +1331,7 @@ void DelegateMediaControl::paint(QPainter *painter, QPainterPath DelegateMediaControl::shape() const { QPainterPath path; - path.addRoundedRect(rect(), rect().height()/ 2, rect().height()/2); + path.addRoundedRect(mSeecArea, mSeecArea.height()/2, mSeecArea.height()/2); return path; }