Ignore:
Timestamp:
May 4, 2009, 4:04:43 AM (13 years ago)
Author:
charles
Message:

(trunk qt) progressbar state/small improvements from kjg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/torrent-delegate.cc

    r8192 r8329  
    365365    myProgressBarStyle->palette = option.palette;
    366366    myProgressBarStyle->palette.setCurrentColorGroup( QPalette::Disabled );
    367     myProgressBarStyle->state = QStyle::State_Off;
     367    myProgressBarStyle->state = option.state | QStyle::State_Small;
    368368    myProgressBarStyle->progress = int(myProgressBarStyle->minimum + ((tor.percentDone() * (myProgressBarStyle->maximum - myProgressBarStyle->minimum))));
    369369    style->drawControl( QStyle::CE_ProgressBar, myProgressBarStyle, painter );
Note: See TracChangeset for help on using the changeset viewer.