*** qwindowsstyle.cpp.orig	Sat May  4 02:24:18 2002
--- qwindowsstyle.cpp	Sat May  4 02:25:10 2002
***************
*** 1354,1368 ****
  
  		    // paint stuff in the magical area
  		    QListView* v = item->listView();
- 		    int lh;
- 		    if ( !item->multiLinesEnabled() )
- 			lh = child ? child->height() : 0;
- 		    else
- 			lh = p->fontMetrics().height() + 2 * v->itemMargin();
- 		    lh = QMAX( lh, QApplication::globalStrut().height() );
- 		    if ( lh % 2 > 0 )
- 			lh++;
  		    while ( child && y < r.height() ) {
  			linebot = y + lh/2;
  			if ( (child->isExpandable() || child->childCount()) &&
  			     (child->height() > 0) ) {
--- 1354,1368 ----
  
  		    // paint stuff in the magical area
  		    QListView* v = item->listView();
  		    while ( child && y < r.height() ) {
+ 		        int lh;
+ 		        if ( !item->multiLinesEnabled() )
+ 			    lh = child ? child->height() : 0;
+ 		        else
+ 			    lh = p->fontMetrics().height() + 2 * v->itemMargin();
+ 		        lh = QMAX( lh, QApplication::globalStrut().height() );
+ 		        if ( lh % 2 > 0 )
+ 			    lh++;
  			linebot = y + lh/2;
  			if ( (child->isExpandable() || child->childCount()) &&
  			     (child->height() > 0) ) {
