68
68
style = opt.widget ? opt.widget->style() : QApplication::style();
69
69
style->drawPrimitive( QStyle::PE_PanelItemViewItem, &opt, painter );
73
72
#warning QTreeView should now set State_Editing correctly, remove the workaround
76
74
if ( index.data( Qt::EditRole ).toInt() > 0 ) {
78
76
KOTodoViewView *view = qobject_cast<KOTodoViewView*>( parent() );