From e2dac6785fee4ba924935964aa4df8da19f124d9 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Tue, 6 Dec 2011 23:39:26 +0100 Subject: [PATCH] Remove useless network_ attribute in some settings pages. Thanks Alan --- src/internet/groovesharksettingspage.cpp | 1 - src/internet/groovesharksettingspage.h | 1 - src/internet/spotifysettingspage.cpp | 1 - src/internet/spotifysettingspage.h | 1 - 4 files changed, 4 deletions(-) diff --git a/src/internet/groovesharksettingspage.cpp b/src/internet/groovesharksettingspage.cpp index 73ca261af..b44b0b68e 100644 --- a/src/internet/groovesharksettingspage.cpp +++ b/src/internet/groovesharksettingspage.cpp @@ -31,7 +31,6 @@ GroovesharkSettingsPage::GroovesharkSettingsPage(SettingsDialog* dialog) : SettingsPage(dialog), - network_(new NetworkAccessManager(this)), ui_(new Ui_GroovesharkSettingsPage), service_(InternetModel::Service()), validated_(false) diff --git a/src/internet/groovesharksettingspage.h b/src/internet/groovesharksettingspage.h index bc4aa1d31..838cad311 100644 --- a/src/internet/groovesharksettingspage.h +++ b/src/internet/groovesharksettingspage.h @@ -43,7 +43,6 @@ private: void UpdateLoginState(); private: - NetworkAccessManager* network_; Ui_GroovesharkSettingsPage* ui_; GroovesharkService* service_; diff --git a/src/internet/spotifysettingspage.cpp b/src/internet/spotifysettingspage.cpp index 085729711..e95f89cf7 100644 --- a/src/internet/spotifysettingspage.cpp +++ b/src/internet/spotifysettingspage.cpp @@ -32,7 +32,6 @@ SpotifySettingsPage::SpotifySettingsPage(SettingsDialog* dialog) : SettingsPage(dialog), - network_(new NetworkAccessManager(this)), ui_(new Ui_SpotifySettingsPage), service_(InternetModel::Service()), validated_(false) diff --git a/src/internet/spotifysettingspage.h b/src/internet/spotifysettingspage.h index a1e7b66b1..d36b8b4a9 100644 --- a/src/internet/spotifysettingspage.h +++ b/src/internet/spotifysettingspage.h @@ -47,7 +47,6 @@ private: void UpdateLoginState(); private: - NetworkAccessManager* network_; Ui_SpotifySettingsPage* ui_; SpotifyService* service_;