fix last two PVS-Studio bugs, closes #232
This commit is contained in:
parent
316d0f1ace
commit
57d1b4916d
@ -308,7 +308,7 @@ RequestBroker::Request::~Request()
|
|||||||
delete (*iter);
|
delete (*iter);
|
||||||
iter++;
|
iter++;
|
||||||
}
|
}
|
||||||
Children.empty();
|
Children.clear();
|
||||||
}
|
}
|
||||||
void RequestBroker::Request::Cleanup()
|
void RequestBroker::Request::Cleanup()
|
||||||
{
|
{
|
||||||
|
@ -339,11 +339,6 @@ void SearchView::NotifyShowOwnChanged(SearchModel * sender)
|
|||||||
unpublishSelected->Enabled = true;
|
unpublishSelected->Enabled = true;
|
||||||
removeSelected->Enabled = true;
|
removeSelected->Enabled = true;
|
||||||
}
|
}
|
||||||
else if(sender->GetShowFavourite())
|
|
||||||
{
|
|
||||||
unpublishSelected->Enabled = false;
|
|
||||||
removeSelected->Enabled = false;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unpublishSelected->Enabled = false;
|
unpublishSelected->Enabled = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user