summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/undoframework/diagramitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools/undoframework/diagramitem.h')
-rw-r--r--examples/widgets/tools/undoframework/diagramitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/tools/undoframework/diagramitem.h b/examples/widgets/tools/undoframework/diagramitem.h
index 246443b64d..1638dcbea8 100644
--- a/examples/widgets/tools/undoframework/diagramitem.h
+++ b/examples/widgets/tools/undoframework/diagramitem.h
@@ -71,7 +71,7 @@ public:
DiagramType diagramType() const {
return polygon() == boxPolygon ? Box : Triangle;
}
- int type() const Q_DECL_OVERRIDE { return Type; }
+ int type() const override { return Type; }
private:
QPolygonF boxPolygon;