Commit 070d0340 authored by Aleksei Kanash's avatar Aleksei Kanash

A small correction for audio item design... strange, it was good on windows...

A small correction for audio item design... strange, it was good on windows and linux, but works not the same on mac.
parent 38d759fd
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment