--- kstyles/oxygen/oxygenstyle.cpp 2010-08-27 09:10:23.000000000 +0100 +++ kstyles/oxygen/oxygenstyle.cpp 2010-10-02 23:27:18.085184000 +0100 @@ -1450,7 +1450,9 @@ case ProgressBar::BusyIndicator: { - if( r.width() < 4 || r.height() < 4 ) return true; + if( orientation == Qt::Horizontal && r.width() < 4 ) return true; + else if( orientation == Qt::Vertical && r.height() < 4 ) return true; + QPixmap pixmap( _helper.progressBarIndicator( pal, rect ) ); p->drawPixmap( rect.adjusted(-1, -2, 0, 0).topLeft(), pixmap ); return true; @@ -4467,11 +4469,9 @@ Q_UNUSED( opt ); Q_UNUSED( kOpt ); - if( const QAbstractItemView *aiv = qobject_cast(widget) ) + if( qobject_cast(widget) ) { - if( OxygenStyleConfigData::viewDrawFocusIndicator() && - aiv->selectionMode() != QAbstractItemView::SingleSelection && - aiv->selectionMode() != QAbstractItemView::NoSelection) + if( OxygenStyleConfigData::viewDrawFocusIndicator() ) { const QRect r( rect.adjusted( 2, 0, -2, -2 ) );