summaryrefslogtreecommitdiffstats
path: root/demos/pathstroke/pathstroke.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/pathstroke/pathstroke.cpp')
-rw-r--r--demos/pathstroke/pathstroke.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/pathstroke/pathstroke.cpp b/demos/pathstroke/pathstroke.cpp
index 257d02a..308c540 100644
--- a/demos/pathstroke/pathstroke.cpp
+++ b/demos/pathstroke/pathstroke.cpp
@@ -382,7 +382,7 @@ void PathStrokeWidget::setStyle( QStyle * style )
{
m_controls->setStyle(style);
- QList<QWidget *> widgets = qFindChildren<QWidget *>(m_controls);
+ QList<QWidget *> widgets = m_controls->findChildren<QWidget *>();
foreach (QWidget *w, widgets)
w->setStyle(style);
}