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-min.cc

    r8188 r8329  
    150150    myProgressBarStyle->palette = option.palette;
    151151    myProgressBarStyle->palette.setCurrentColorGroup( QPalette::Disabled );
    152     myProgressBarStyle->state = QStyle::State_Off;
     152    myProgressBarStyle->state = option.state | QStyle::State_Small;
    153153    myProgressBarStyle->progress = int(myProgressBarStyle->minimum + ((tor.percentDone() * (myProgressBarStyle->maximum - myProgressBarStyle->minimum))));
    154154    style->drawControl( QStyle::CE_ProgressBar, myProgressBarStyle, painter );
Note: See TracChangeset for help on using the changeset viewer.