diff --git a/src/client/requestbroker/RequestBroker.cpp b/src/client/requestbroker/RequestBroker.cpp index ee0b4d40a..809dda3dd 100644 --- a/src/client/requestbroker/RequestBroker.cpp +++ b/src/client/requestbroker/RequestBroker.cpp @@ -308,7 +308,7 @@ RequestBroker::Request::~Request() delete (*iter); iter++; } - Children.empty(); + Children.clear(); } void RequestBroker::Request::Cleanup() { diff --git a/src/gui/search/SearchView.cpp b/src/gui/search/SearchView.cpp index 638d4e749..edb4c7eda 100644 --- a/src/gui/search/SearchView.cpp +++ b/src/gui/search/SearchView.cpp @@ -339,11 +339,6 @@ void SearchView::NotifyShowOwnChanged(SearchModel * sender) unpublishSelected->Enabled = true; removeSelected->Enabled = true; } - else if(sender->GetShowFavourite()) - { - unpublishSelected->Enabled = false; - removeSelected->Enabled = false; - } else { unpublishSelected->Enabled = false;