Gui: use empty

This commit is contained in:
berniev
2022-08-06 03:13:53 +10:00
committed by wwmayer
parent a00faca147
commit d88729d2c4
33 changed files with 154 additions and 154 deletions

View File

@@ -183,7 +183,7 @@ void StdCmdCloseAllWindows::activated(int iMsg)
bool StdCmdCloseAllWindows::isActive(void)
{
return !(getMainWindow()->windows().isEmpty()) || App::GetApplication().getDocuments().size();
return !(getMainWindow()->windows().isEmpty()) || !App::GetApplication().getDocuments().empty();
}
//===========================================================================