(trunk qt) #2616: "for the ratio mode button, use the yin/yang icon submitted by jimmac"

This commit is contained in:
Charles Kerr 2009-12-03 14:46:54 +00:00
parent 79154bac8a
commit c6899aa1eb
3 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<RCC version="1.0">
<qresource prefix="icons" >
<file alias="ratio.png">icons/ratio.png</file>
<file alias="transmission-16.png">icons/hicolor_apps_16x16_transmission.png</file>
<file alias="transmission-22.png">icons/hicolor_apps_22x22_transmission.png</file>
<file alias="transmission-24.png">icons/hicolor_apps_24x24_transmission.png</file>

BIN
qt/icons/ratio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -478,7 +478,7 @@ TrMainWindow :: createStatusBar( )
connect( ui.action_SessionRatio, SIGNAL(triggered()), this, SLOT(showSessionRatio()));
connect( ui.action_SessionTransfer, SIGNAL(triggered()), this, SLOT(showSessionTransfer()));
p = myStatsModeButton = new TrIconPushButton( this );
p->setIcon( getStockIcon( "view-refresh", QStyle::SP_BrowserReload ) );
p->setIcon( QIcon( ":/icons/ratio.png" ) );
p->setFlat( true );
p->setMenu( m );
h->addWidget( p );