From 0d24f01826949d07351c6447161a02b45ea27401 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sun, 9 Sep 2018 21:54:33 +0300 Subject: [PATCH] Tearoff band has been fixed --- common.pri | 2 +- limereport/bands/lrtearoffband.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common.pri b/common.pri index b048dde..e79765e 100644 --- a/common.pri +++ b/common.pri @@ -75,7 +75,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 4 -LIMEREPORT_VERSION_RELEASE = 102 +LIMEREPORT_VERSION_RELEASE = 103 LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"' DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\" diff --git a/limereport/bands/lrtearoffband.h b/limereport/bands/lrtearoffband.h index 1366aa6..5c8c17c 100644 --- a/limereport/bands/lrtearoffband.h +++ b/limereport/bands/lrtearoffband.h @@ -12,7 +12,8 @@ public: virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0); protected: QColor bandColor() const; - virtual bool isUnique() const {return true;} + bool isUnique() const {return true;} + bool isFooter() const{ return true;} }; } // namespace LimeReport