diff --git a/qt/mainwin.cc b/qt/mainwin.cc index 88873fb04..41768eb46 100644 --- a/qt/mainwin.cc +++ b/qt/mainwin.cc @@ -200,6 +200,7 @@ TrMainWindow :: TrMainWindow( Session& session, Prefs& prefs, TorrentModel& mode actionGroup->addAction( ui.action_SortByETA ); actionGroup->addAction( ui.action_SortByName ); actionGroup->addAction( ui.action_SortByProgress ); + actionGroup->addAction( ui.action_SortByQueue ); actionGroup->addAction( ui.action_SortByRatio ); actionGroup->addAction( ui.action_SortBySize ); actionGroup->addAction( ui.action_SortByState ); diff --git a/qt/prefs-dialog.cc b/qt/prefs-dialog.cc index a1fc7d7cc..e16ac81c5 100644 --- a/qt/prefs-dialog.cc +++ b/qt/prefs-dialog.cc @@ -584,7 +584,7 @@ PrefsDialog :: createDownloadTab( ) hig->addSectionDivider( ); hig->addSectionTitle( tr( "Queue" ) ); - hig->addRow( tr( "Maximum active &downloads:" ), spinBoxNew( Prefs::DOWNLOAD_QUEUE_SIZE, 1, FD_SETSIZE, 5 ) ); + hig->addRow( tr( "Maximum active &downloads:" ), spinBoxNew( Prefs::DOWNLOAD_QUEUE_SIZE, 1, INT_MAX, 1 ) ); hig->addRow( tr( "E&xempt torrents if idle for N minutes:" ), spinBoxNew( Prefs::QUEUE_STALLED_MINUTES, 1, FD_SETSIZE, 5 ) ); hig->addSectionDivider( );