mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 02:40:47 +02:00
fix last two PVS-Studio bugs, closes #232
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user