summaryrefslogtreecommitdiffstats
path: root/demos/deform/pathdeform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/deform/pathdeform.cpp')
-rw-r--r--demos/deform/pathdeform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/deform/pathdeform.cpp b/demos/deform/pathdeform.cpp
index 636d103..d6ac19e 100644
--- a/demos/deform/pathdeform.cpp
+++ b/demos/deform/pathdeform.cpp
@@ -297,7 +297,7 @@ void PathDeformWidget::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);
}