summaryrefslogtreecommitdiffstats
path: root/kuiviewer
diff options
context:
space:
mode:
Diffstat (limited to 'kuiviewer')
-rw-r--r--kuiviewer/kuiviewer_part.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kuiviewer/kuiviewer_part.cpp b/kuiviewer/kuiviewer_part.cpp
index e4a87a45..5f231361 100644
--- a/kuiviewer/kuiviewer_part.cpp
+++ b/kuiviewer/kuiviewer_part.cpp
@@ -185,7 +185,7 @@ void KUIViewerPart::slotStyle(int)
TQApplication::setOverrideCursor( WaitCursor );
m_widget->setStyle( style);
- TQObjectList *l = m_widget->queryList( "TQWidget" );
+ TQObjectList *l = m_widget->queryList( TQWIDGET_OBJECT_NAME_STRING );
for ( TQObject *o = l->first(); o; o = l->next() )
( static_cast<TQWidget *>(o) )->setStyle( style );
delete l;