diff --git a/common.pri b/common.pri index 78767ea..62c871f 100644 --- a/common.pri +++ b/common.pri @@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 5 -LIMEREPORT_VERSION_RELEASE = 21 +LIMEREPORT_VERSION_RELEASE = 22 LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}' DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\" diff --git a/limereport/items/lrchartitem.cpp b/limereport/items/lrchartitem.cpp index 171d45c..73565d4 100644 --- a/limereport/items/lrchartitem.cpp +++ b/limereport/items/lrchartitem.cpp @@ -249,6 +249,11 @@ QWidget *ChartItem::defaultEditor() return editor; } +bool ChartItem::isNeedUpdateSize(RenderPass pass) const +{ + return pass == FirstPass; +} + QList ChartItem::labels() const { return m_labels; diff --git a/limereport/items/lrchartitem.h b/limereport/items/lrchartitem.h index 3419d20..5af5213 100644 --- a/limereport/items/lrchartitem.h +++ b/limereport/items/lrchartitem.h @@ -196,7 +196,7 @@ protected: void updateItemSize(DataSourceManager *dataManager, RenderPass, int); void fillLabels(IDataSource* dataSource); QWidget* defaultEditor(); - + bool isNeedUpdateSize(RenderPass pass) const; private: QList m_series; // QList< QPointer > m_series;