1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-02 20:43:51 +00:00

(trunk qt) #2260: Qt client crashes when setting alternative upload/download speeds

This commit is contained in:
Charles Kerr 2009-07-01 23:40:07 +00:00
parent 32aeae1388
commit ab1dc1b3ba

View file

@ -1005,7 +1005,7 @@ TrMainWindow :: refreshPref( int key )
case Prefs :: ALT_SPEED_LIMIT_ENABLED:
case Prefs :: ALT_SPEED_LIMIT_UP:
case Prefs :: ALT_SPEED_LIMIT_DOWN: {
b = myPrefs.getBool( key );
b = myPrefs.getBool( Prefs :: ALT_SPEED_LIMIT_ENABLED );
myAltSpeedButton->setChecked( b );
myAltSpeedButton->setIcon( b ? mySpeedModeOnIcon : mySpeedModeOffIcon );
const QString fmt = b ? tr( "Click to disable Temporary Speed Limits\n(%1 down, %2 up)" )