summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/painterpaths/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/painterpaths/window.cpp')
-rw-r--r--examples/widgets/painting/painterpaths/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/painting/painterpaths/window.cpp b/examples/widgets/painting/painterpaths/window.cpp
index e43a0377af..07d3c5aaa8 100644
--- a/examples/widgets/painting/painterpaths/window.cpp
+++ b/examples/widgets/painting/painterpaths/window.cpp
@@ -204,9 +204,9 @@ Window::Window()
this, &Window::penColorChanged);
for (RenderArea *area : qAsConst(renderAreas)) {
- connect(penWidthSpinBox, QOverload<int>::of(&QSpinBox::valueChanged),
+ connect(penWidthSpinBox, &QSpinBox::valueChanged,
area, &RenderArea::setPenWidth);
- connect(rotationAngleSpinBox, QOverload<int>::of(&QSpinBox::valueChanged),
+ connect(rotationAngleSpinBox, &QSpinBox::valueChanged,
area, &RenderArea::setRotationAngle);
}