queuing: fix "unhandled pref: 60" error reported by rb07

This commit is contained in:
Jordan Lee 2011-08-09 13:35:44 +00:00
parent 1a4f4c5812
commit 0f0c59c620
2 changed files with 2 additions and 1 deletions

View File

@ -585,7 +585,7 @@ PrefsDialog :: createDownloadTab( )
hig->addSectionTitle( tr( "Queue" ) );
hig->addRow( tr( "Maximum active &downloads:" ), spinBoxNew( Prefs::DOWNLOAD_QUEUE_SIZE, 1, INT_MAX, 1 ) );
hig->addRow( tr( "Downloads sharing data in the last N minutes are &active:" ), spinBoxNew( Prefs::QUEUE_STALLED_MINUTES, 1, INT_MAX, 15 ) );
hig->addRow( tr( "Downloads sharing data in the last N minutes are &active:" ), spinBoxNew( Prefs::QUEUE_STALLED_MINUTES, 1, INT_MAX, 10 ) );
hig->addSectionDivider( );
hig->addSectionTitle( tr( "Incomplete" ) );

View File

@ -164,6 +164,7 @@ Session :: updatePref( int key )
case Prefs :: PEER_LIMIT_TORRENT:
case Prefs :: PEER_PORT:
case Prefs :: PEER_PORT_RANDOM_ON_START:
case Prefs :: QUEUE_STALLED_MINUTES:
case Prefs :: PEX_ENABLED:
case Prefs :: PORT_FORWARDING:
case Prefs :: SCRIPT_TORRENT_DONE_ENABLED: