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