Permalink
Browse files

fix last two PVS-Studio bugs, closes #232

  • Loading branch information...
jacob1 committed Feb 14, 2015
1 parent 316d0f1 commit 57d1b4916dfd5d0554a1e42b6c43562d5de88d7f
Showing with 1 addition and 6 deletions.
  1. +1 −1 src/client/requestbroker/RequestBroker.cpp
  2. +0 −5 src/gui/search/SearchView.cpp
@@ -308,7 +308,7 @@ RequestBroker::Request::~Request()
delete (*iter);
iter++;
}
Children.empty();
Children.clear();
}
void RequestBroker::Request::Cleanup()
{
@@ -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;

0 comments on commit 57d1b49

Please sign in to comment.