mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 18:17:08 -07:00
Seed rand only at one place.
This commit is contained in:
parent
9913484f68
commit
be5a1ae272
3 changed files with 3 additions and 8 deletions
|
@ -40,8 +40,6 @@
|
|||
#include <QDesktopServices>
|
||||
|
||||
#include <libtorrent/version.hpp>
|
||||
#include <time.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "options_imp.h"
|
||||
#include "preferences.h"
|
||||
|
@ -780,9 +778,7 @@ void options_imp::loadOptions() {
|
|||
domainNameTxt->setText(pref.getDynDomainName());
|
||||
DNSUsernameTxt->setText(pref.getDynDNSUsername());
|
||||
DNSPasswordTxt->setText(pref.getDynDNSPassword());
|
||||
// End Web UI
|
||||
// Random stuff
|
||||
srand(time(0));
|
||||
// End Web UI
|
||||
}
|
||||
|
||||
// return min & max ports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue