summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/simpleanchorlayout/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/simpleanchorlayout/main.cpp')
-rw-r--r--examples/graphicsview/simpleanchorlayout/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/simpleanchorlayout/main.cpp b/examples/graphicsview/simpleanchorlayout/main.cpp
index 9cb4006..942cdc4 100644
--- a/examples/graphicsview/simpleanchorlayout/main.cpp
+++ b/examples/graphicsview/simpleanchorlayout/main.cpp
@@ -49,7 +49,7 @@ public:
{
}
- void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0)
+ void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget * = 0)
{
QFont font;
font.setPixelSize(0.75 * qMin(boundingRect().width(), boundingRect().height()));