From 070d03401c98d738a4cff6a79426e6bee7cf0d0a Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Thu, 16 Aug 2012 12:37:55 +0300 Subject: [PATCH] A small correction for audio item design... strange, it was good on windows and linux, but works not the same on mac. --- src/domain/UBGraphicsMediaItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/UBGraphicsMediaItem.cpp b/src/domain/UBGraphicsMediaItem.cpp index b02c89b4..10818e56 100644 --- a/src/domain/UBGraphicsMediaItem.cpp +++ b/src/domain/UBGraphicsMediaItem.cpp @@ -42,7 +42,7 @@ void UBAudioPresentationWidget::paintEvent(QPaintEvent *event) mask_img.fill(0xff); QPainter mask_painter(&mask_img); mask_painter.setBrush(QBrush( QColor(0, 0, 0))); - mask_painter.drawRoundedRect(1,1, width()-3, height()-3, height()/5, height()/5); + mask_painter.drawRoundedRect(1,1, width()-2, height()-2, height()/5, height()/5); setMask(QBitmap::fromImage(mask_img));