Fix Clang warning.
This commit is contained in:
parent
cb9f029c0f
commit
7dd8aa0058
|
@ -51,7 +51,7 @@ public:
|
||||||
* @param option unused
|
* @param option unused
|
||||||
* @param widget unused
|
* @param widget unused
|
||||||
*/
|
*/
|
||||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
|
||||||
|
|
||||||
int type() const override {return Type;}
|
int type() const override {return Type;}
|
||||||
enum { Type = UserType + static_cast<int>(Layout::GrainlineItem)};
|
enum { Type = UserType + static_cast<int>(Layout::GrainlineItem)};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user