summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/previewwidgetimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/previewwidgetimpl.cpp')
-rw-r--r--kdevdesigner/designer/previewwidgetimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/designer/previewwidgetimpl.cpp b/kdevdesigner/designer/previewwidgetimpl.cpp
index d574f9ae..15fb8058 100644
--- a/kdevdesigner/designer/previewwidgetimpl.cpp
+++ b/kdevdesigner/designer/previewwidgetimpl.cpp
@@ -31,7 +31,7 @@ PreviewWidget::PreviewWidget( TQWidget *parent, const char *name )
: PreviewWidgetBase( parent, name )
{
// install event filter on child widgets
- TQObjectList *l = queryList(TQWIDGET_OBJECT_NAME_STRING);
+ TQObjectList *l = queryList("TQWidget");
TQObjectListIt it(*l);
TQObject * obj;
while ((obj = it.current()) != 0) {