From 491f7b49d704cf175a94df873ad2d81bd27c3e61 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Fri, 7 Apr 2017 23:02:58 -0400 Subject: [PATCH] Fix "hidden overloaded virtual function" warning I'm presuming that TearOffBand::isUnique() is supposed to override the base class's isUnique(), but it was missing a const... --- limereport/bands/lrtearoffband.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/bands/lrtearoffband.h b/limereport/bands/lrtearoffband.h index d1ee19b..e373a90 100644 --- a/limereport/bands/lrtearoffband.h +++ b/limereport/bands/lrtearoffband.h @@ -12,7 +12,7 @@ public: virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0); protected: QColor bandColor() const; - bool isUnique(){ return true;} + virtual bool isUnique() const {return true;} }; } // namespace LimeReport