Initialize user_favorites_ and remove an excessive line
* Add Favorites support to SoundCloud * Initialize variable and remove an excessive line
This commit is contained in:
parent
7ef095d0cb
commit
d019cb7f80
@ -72,6 +72,7 @@ SoundCloudService::SoundCloudService(Application* app, InternetModel* parent)
|
||||
user_tracks_(nullptr),
|
||||
user_playlists_(nullptr),
|
||||
user_activities_(nullptr),
|
||||
user_favorites_(nullptr),
|
||||
network_(new NetworkAccessManager(this)),
|
||||
context_menu_(nullptr),
|
||||
search_box_(new SearchBoxWidget(this)),
|
||||
@ -137,7 +138,6 @@ void SoundCloudService::EnsureItemsCreated() {
|
||||
InternetModel::Role_PlayBehaviour);
|
||||
root_->appendRow(user_tracks_);
|
||||
|
||||
|
||||
user_favorites_ = new QStandardItem(tr("Favorites"));
|
||||
root_->appendRow(user_favorites_);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user