From 0f0c59c620d87253c856adc08abb89220c0afa77 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Tue, 9 Aug 2011 13:35:44 +0000 Subject: [PATCH] queuing: fix "unhandled pref: 60" error reported by rb07 --- qt/prefs-dialog.cc | 2 +- qt/session.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qt/prefs-dialog.cc b/qt/prefs-dialog.cc index 6d5bc003f..71b2e8e99 100644 --- a/qt/prefs-dialog.cc +++ b/qt/prefs-dialog.cc @@ -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" ) ); diff --git a/qt/session.cc b/qt/session.cc index 9f64b8933..e4c4ff22e 100644 --- a/qt/session.cc +++ b/qt/session.cc @@ -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: -- 2.40.0