summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/styles/tqmotifstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/styles/tqmotifstyle.cpp')
-rw-r--r--tqtinterface/qt4/src/styles/tqmotifstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/styles/tqmotifstyle.cpp b/tqtinterface/qt4/src/styles/tqmotifstyle.cpp
index b05c46d..83d87da 100644
--- a/tqtinterface/qt4/src/styles/tqmotifstyle.cpp
+++ b/tqtinterface/qt4/src/styles/tqmotifstyle.cpp
@@ -1837,10 +1837,10 @@ TQRect TQMotifStyle::subRect( SubRect r, const TQWidget *widget ) const
case SR_DockWindowHandleRect:
{
#ifndef TQT_NO_MAINWINDOW
- if ( !widget || !widget->tqparent() )
+ if ( !widget || !widget->parent() )
break;
- const TQDockWindow * dw = (const TQDockWindow *) widget->tqparent();
+ const TQDockWindow * dw = (const TQDockWindow *) widget->parent();
if ( !dw->area() || !dw->isCloseEnabled() )
rect.setRect( 0, 0, widget->width(), widget->height() );
else {