From bae89854deb62aed9e326bcc0c574d4fedf3e841 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Wed, 28 Mar 2018 19:24:06 +0300 Subject: [PATCH] Background fixed --- common.pri | 2 +- limereport/items/lrtextitem.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common.pri b/common.pri index 60d33f4..9335ddf 100644 --- a/common.pri +++ b/common.pri @@ -62,7 +62,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 4 -LIMEREPORT_VERSION_RELEASE = 74 +LIMEREPORT_VERSION_RELEASE = 75 LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"' DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\" diff --git a/limereport/items/lrtextitem.cpp b/limereport/items/lrtextitem.cpp index c0ed243..15e5809 100644 --- a/limereport/items/lrtextitem.cpp +++ b/limereport/items/lrtextitem.cpp @@ -545,7 +545,9 @@ void TextItem::setTextLayoutDirection(const Qt::LayoutDirection &textLayoutDirec void TextItem::setWatermark(bool watermark) { - setBackgroundMode(TransparentMode); + if (watermark){ + setBackgroundMode(TransparentMode); + } BaseDesignIntf::setWatermark(watermark); }