From: Jordan Lee <jordan@transmissionbt.com>
Date: Tue, 9 Aug 2011 13:35:44 +0000 (+0000)
Subject: queuing: fix "unhandled pref: 60" error reported by rb07
X-Git-Tag: 2.40b1~244
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f0c59c620d87253c856adc08abb89220c0afa77;p=transmission

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

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: