Cleaned up NetworkAccessManager behavior from previous commit for

Subsonic, to facilitate SSLv3 usage.
This commit is contained in:
Ross Wolfson 2013-05-29 21:57:45 -04:00 committed by Ross
parent 7e32cfc358
commit 40d35faa00
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ bool SubsonicService::IsConfigured() const {
void SubsonicService::Login() {
// Recreate fresh network state, otherwise old HTTPS settings seem to get reused
// This might leave stale idle connections around in background, but this shouldn't get called regularly
network_->deleteLater();
network_ = new QNetworkAccessManager(this);
network_->setCookieJar(new QNetworkCookieJar(network_));
// Forget login state whilst waiting