summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/widgetfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/lib/shared/widgetfactory.cpp')
-rw-r--r--tools/designer/src/lib/shared/widgetfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/widgetfactory.cpp b/tools/designer/src/lib/shared/widgetfactory.cpp
index c7b13a1..d686052 100644
--- a/tools/designer/src/lib/shared/widgetfactory.cpp
+++ b/tools/designer/src/lib/shared/widgetfactory.cpp
@@ -782,7 +782,7 @@ void WidgetFactory::applyStyleToTopLevel(QStyle *style, QWidget *widget)
widget->setStyle(style);
widget->setPalette(standardPalette);
- const QWidgetList lst = qFindChildren<QWidget*>(widget);
+ const QWidgetList lst = widget->findChildren<QWidget*>();
const QWidgetList::const_iterator cend = lst.constEnd();
for (QWidgetList::const_iterator it = lst.constBegin(); it != cend; ++it)
(*it)->setStyle(style);