summaryrefslogtreecommitdiffstats
path: root/kdat/InfoShellWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/InfoShellWidget.cpp')
-rw-r--r--kdat/InfoShellWidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/kdat/InfoShellWidget.cpp b/kdat/InfoShellWidget.cpp
index fc96e8c..bda2be9 100644
--- a/kdat/InfoShellWidget.cpp
+++ b/kdat/InfoShellWidget.cpp
@@ -23,8 +23,8 @@
#include "InfoShellWidget.moc"
-InfoShellWidget::InfoShellWidget( TQWidget* parent, const char* name )
- : TQWidget( parent, name )
+InfoShellWidget::InfoShellWidget( TQWidget* tqparent, const char* name )
+ : TQWidget( tqparent, name )
{
}
@@ -34,8 +34,9 @@ InfoShellWidget::~InfoShellWidget()
void InfoShellWidget::resizeEvent( TQResizeEvent* )
{
- if ( children() ) {
- TQObjectListIt i( *children() );
+ TQObjectList clo = childrenListObject();
+ if ( !clo.isEmpty() ) {
+ TQObjectListIt i( clo );
for ( ; i.current(); ++i ) {
((TQWidget*)i.current())->resize( size() );
}