summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qworkspace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qworkspace.cpp')
-rw-r--r--src/gui/widgets/qworkspace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qworkspace.cpp b/src/gui/widgets/qworkspace.cpp
index 7180c4d..5cf67a5 100644
--- a/src/gui/widgets/qworkspace.cpp
+++ b/src/gui/widgets/qworkspace.cpp
@@ -2923,7 +2923,7 @@ void QWorkspaceChild::setActive(bool b)
iconw->setActive(act);
update();
- QList<QWidget*> wl = qFindChildren<QWidget*>(childWidget);
+ QList<QWidget*> wl = childWidget->findChildren<QWidget*>();
if (act) {
for (int i = 0; i < wl.size(); ++i) {
QWidget *w = wl.at(i);