summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/styles/tqcommonstyle.cpp')
-rw-r--r--tqtinterface/qt4/src/styles/tqcommonstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/styles/tqcommonstyle.cpp b/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
index 8ab5d91..90a5588 100644
--- a/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
+++ b/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(),