From 67e4b321099cff9d1d6dd39910e85ef5f71ad405 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Mon, 9 Sep 2013 18:30:53 +0200 Subject: [PATCH] fixed trasparency problem --- src/tools/UBGraphicsCurtainItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/UBGraphicsCurtainItem.cpp b/src/tools/UBGraphicsCurtainItem.cpp index 0e35f0e3..93389975 100644 --- a/src/tools/UBGraphicsCurtainItem.cpp +++ b/src/tools/UBGraphicsCurtainItem.cpp @@ -124,7 +124,7 @@ void UBGraphicsCurtainItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) void UBGraphicsCurtainItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { QColor color = drawColor(); - + painter->setCompositionMode(QPainter::CompositionMode_SourceOver); if(widget == UBApplication::boardController->controlView()->viewport()) { color = UBSettings::paletteColor;