mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-03-15 06:46:23 +03:00
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...
This commit is contained in:
parent
1ccfd147f1
commit
491f7b49d7
@ -12,7 +12,7 @@ public:
|
|||||||
virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
|
virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
|
||||||
protected:
|
protected:
|
||||||
QColor bandColor() const;
|
QColor bandColor() const;
|
||||||
bool isUnique(){ return true;}
|
virtual bool isUnique() const {return true;}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace LimeReport
|
} // namespace LimeReport
|
||||||
|
Loading…
Reference in New Issue
Block a user