diff --git a/src/internet/groovesharkservice.cpp b/src/internet/groovesharkservice.cpp index 9ff9e7072..951408070 100644 --- a/src/internet/groovesharkservice.cpp +++ b/src/internet/groovesharkservice.cpp @@ -166,7 +166,9 @@ void GroovesharkService::ShowConfig() { } QWidget* GroovesharkService::HeaderWidget() const { - return search_box_; + if (IsLoggedIn()) + return search_box_; + return NULL; } void GroovesharkService::Search(const QString& text, bool now) { diff --git a/src/internet/spotifyservice.cpp b/src/internet/spotifyservice.cpp index 5b8746e6c..c15cc38e4 100644 --- a/src/internet/spotifyservice.cpp +++ b/src/internet/spotifyservice.cpp @@ -503,7 +503,9 @@ PlaylistItem::Options SpotifyService::playlistitem_options() const { } QWidget* SpotifyService::HeaderWidget() const { - return search_box_; + if (IsLoggedIn()) + return search_box_; + return NULL; } void SpotifyService::EnsureMenuCreated() {