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 4f79ae57..a2226ac2 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");
+ TQObjectList *l = queryList(TQWIDGET_OBJECT_NAME_STRING);
TQObjectListIt it(*l);
TQObject * obj;
while ((obj = it.current()) != 0) {