Changeset 10730


Ignore:
Timestamp:
Jun 5, 2010, 10:47:41 AM (12 years ago)
Author:
charles
Message:

(trunk Qt) #3266 "statusbar different from gtk client" -- pass Longinus00's patch through to trunk as-is

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/mainwin.cc

    r10722 r10730  
    455455        p = myOptionsButton = new TrIconPushButton( this );
    456456        p->setIcon( QIcon( ":/icons/options.png" ) );
     457        p->setIconSize( QPixmap( ":/icons/options.png" ).size() );
    457458        p->setFlat( true );
    458459        p->setMenu( createOptionsMenu( ) );
    459460        h->addWidget( p );
    460461
    461         p = myAltSpeedButton = new TrIconPushButton( this );
     462        p = myAltSpeedButton = new QPushButton( this );
    462463        p->setIcon( myPrefs.get<bool>(Prefs::ALT_SPEED_LIMIT_ENABLED) ? mySpeedModeOnIcon : mySpeedModeOffIcon );
     464        p->setIconSize( QPixmap( ":/icons/alt-limit-on.png" ).size() );
     465        p->setCheckable( true );
     466        p->setFixedWidth( p->height() );
    463467        p->setFlat( true );
    464468        h->addWidget( p );
     
    491495        p = myStatsModeButton = new TrIconPushButton( this );
    492496        p->setIcon( QIcon( ":/icons/ratio.png" ) );
     497        p->setIconSize( QPixmap( ":/icons/ratio.png" ).size() );
    493498        p->setFlat( true );
    494499        p->setMenu( m );
Note: See TracChangeset for help on using the changeset viewer.