Changeset 8329 for trunk/qt/file-tree.cc


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/file-tree.cc

    r8188 r8329  
    534534    {
    535535        QStyleOptionProgressBar p;
    536         p.state = QStyle::State_Enabled;
     536        p.state = option.state | QStyle::State_Small;
    537537        p.direction = QApplication::layoutDirection();
    538538        p.rect = option.rect;
     
    551551    {
    552552        QStyleOptionButton o;
    553         o.state = QStyle::State_Enabled;
     553        o.state = option.state;
    554554        o.direction = QApplication::layoutDirection();
    555555        o.rect.setSize( QSize( 20, option.rect.height( ) ) );
Note: See TracChangeset for help on using the changeset viewer.