mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
- Force lists refresh before initially displaying the window to avoid lag
- Removed session tweaking on exit since it does not have any effect
This commit is contained in:
@@ -87,15 +87,6 @@ bittorrent::~bittorrent() {
|
||||
/*saveDHTEntry();
|
||||
saveSessionState();
|
||||
saveFastResumeData();*/
|
||||
// Set Session settings
|
||||
session_settings ss;
|
||||
ss.tracker_receive_timeout = 1;
|
||||
ss.stop_tracker_timeout = 1;
|
||||
ss.tracker_completion_timeout = 1;
|
||||
ss.piece_timeout = 1;
|
||||
ss.peer_timeout = 1;
|
||||
ss.urlseed_timeout = 1;
|
||||
s->set_settings(ss);
|
||||
// Disable directory scanning
|
||||
disableDirectoryScanning();
|
||||
// Delete our objects
|
||||
|
||||
Reference in New Issue
Block a user