summaryrefslogtreecommitdiffstats
path: root/demos/deform/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/deform/main.cpp')
-rw-r--r--demos/deform/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/deform/main.cpp b/demos/deform/main.cpp
index e2d4c04..5ddae0d 100644
--- a/demos/deform/main.cpp
+++ b/demos/deform/main.cpp
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
QStyle *arthurStyle = new ArthurStyle();
deformWidget.setStyle(arthurStyle);
- QList<QWidget *> widgets = qFindChildren<QWidget *>(&deformWidget);
+ QList<QWidget *> widgets = deformWidget.findChildren<QWidget *>();
foreach (QWidget *w, widgets)
w->setStyle(arthurStyle);