Changeset 8333


Ignore:
Timestamp:
May 4, 2009, 6:22:18 PM (12 years ago)
Author:
charles
Message:

(trunk qt) more progressbar improvements from kjg

Location:
trunk/qt
Files:
2 edited

Legend:

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

    r8331 r8333  
    153153    myProgressBarStyle->direction = option.direction;
    154154    myProgressBarStyle->palette = option.palette;
    155     myProgressBarStyle->palette.setCurrentColorGroup( QPalette::Disabled );
     155    myProgressBarStyle->palette.setCurrentColorGroup( cg );
    156156    myProgressBarStyle->state = progressBarState;
    157157    myProgressBarStyle->progress = int(myProgressBarStyle->minimum + ((tor.percentDone() * (myProgressBarStyle->maximum - myProgressBarStyle->minimum))));
  • trunk/qt/torrent-delegate.cc

    r8331 r8333  
    368368    myProgressBarStyle->direction = option.direction;
    369369    myProgressBarStyle->palette = option.palette;
    370     myProgressBarStyle->palette.setCurrentColorGroup( QPalette::Disabled );
     370    myProgressBarStyle->palette.setCurrentColorGroup( cg );
    371371    myProgressBarStyle->state = progressBarState;
    372372    myProgressBarStyle->progress = int(myProgressBarStyle->minimum + ((tor.percentDone() * (myProgressBarStyle->maximum - myProgressBarStyle->minimum))));
Note: See TracChangeset for help on using the changeset viewer.