From c035333f28b920467820e016daa9f3138fe8ae8f Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Mon, 5 Sep 2011 09:53:18 +0200 Subject: [PATCH] fixed issue http://188.165.53.52/jira/browse/SANKORE-107 --- src/domain/UBGraphicsPixmapItem.cpp | 2 +- src/domain/UBGraphicsTextItemDelegate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/UBGraphicsPixmapItem.cpp b/src/domain/UBGraphicsPixmapItem.cpp index 49154ca6..edffb90d 100644 --- a/src/domain/UBGraphicsPixmapItem.cpp +++ b/src/domain/UBGraphicsPixmapItem.cpp @@ -25,7 +25,7 @@ #include "core/memcheck.h" -UBGraphicsPixmapItem::UBGraphicsPixmapItem(QGraphicsItem* parent/*, QString pSource*/) +UBGraphicsPixmapItem::UBGraphicsPixmapItem(QGraphicsItem* parent) : QGraphicsPixmapItem(parent) { mDelegate = new UBGraphicsItemDelegate(this, 0, true, true); diff --git a/src/domain/UBGraphicsTextItemDelegate.cpp b/src/domain/UBGraphicsTextItemDelegate.cpp index 0f7a32f5..1ab6dc3f 100644 --- a/src/domain/UBGraphicsTextItemDelegate.cpp +++ b/src/domain/UBGraphicsTextItemDelegate.cpp @@ -31,7 +31,7 @@ const int UBGraphicsTextItemDelegate::sMinPixelSize = 8; UBGraphicsTextItemDelegate::UBGraphicsTextItemDelegate(UBGraphicsTextItem* pDelegated, QObject * parent) - : UBGraphicsItemDelegate(pDelegated,0, parent, false) + : UBGraphicsItemDelegate(pDelegated,0, parent, true) , mLastFontPixelSize(-1) { // NOOP