From 4bb82ffa52d12cb2bc2e52dae5cc71a88126314b Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Tue, 7 Feb 2023 00:32:58 +0300 Subject: [PATCH] fix build for c++ < 17 --- limereport/lrbanddesignintf.cpp | 1 - limereport/lrcollection.h | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/limereport/lrbanddesignintf.cpp b/limereport/lrbanddesignintf.cpp index 73a9404..321b729 100644 --- a/limereport/lrbanddesignintf.cpp +++ b/limereport/lrbanddesignintf.cpp @@ -60,7 +60,6 @@ void BandMarker::paint(QPainter *painter, const QStyleOptionGraphicsItem* /**opt boundingRect().bottomLeft().y()-4, boundingRect().width(),4), Qt::lightGray ); - qDebug()<setRenderHint(QPainter::Antialiasing); qreal size = (boundingRect().width()= 201703L const int inline COLLECTION_TYPE_ID = qMetaTypeId(); +#else +const int inline COLLECTION_TYPE_ID = qMetaTypeId(); +#endif class LIMEREPORT_EXPORT ICollectionContainer{ public: virtual QObject* createElement(const QString& collectionName,const QString& elementType)=0;