diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/styles/tqcommonstyle.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/styles/tqcommonstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/tqtinterface/qt4/src/styles/tqcommonstyle.cpp b/experimental/tqtinterface/qt4/src/styles/tqcommonstyle.cpp index 8ab5d910f..90a5588b2 100644 --- a/experimental/tqtinterface/qt4/src/styles/tqcommonstyle.cpp +++ b/experimental/tqtinterface/qt4/src/styles/tqcommonstyle.cpp @@ -216,8 +216,8 @@ void TQCommonStyle::tqdrawPrimitive( TQ_PrimitiveElement pe, p->setPen( TQPen( lv->tqpalette().color( TQPalette::Disabled, TQColorGroup::Text ), 2 ) ); bool parentControl = FALSE; - if ( item->tqparent() && item->tqparent()->rtti() == 1 && - ((TQCheckListItem*) item->tqparent())->type() == TQCheckListItem::Controller ) + if ( item->parent() && item->parent()->rtti() == 1 && + ((TQCheckListItem*) item->parent())->type() == TQCheckListItem::Controller ) parentControl = TRUE; if ( flags & Style_Selected && !lv->rootIsDecorated() && !parentControl ) { p->fillRect( 0, 0, x + marg + w + 4, item->height(), |