Use isEmpty() here

This commit is contained in:
Laurent Montel
2023-08-30 19:29:02 +02:00
parent 0e4df58fc9
commit e28419ef88

View File

@@ -362,7 +362,7 @@ int main(int argc, char *argv[])
return -1;
}
if (parser.positionalArguments().length() > 0) {
if (!parser.positionalArguments().isEmpty()) {
RoomManager::instance().setUrlArgument(parser.positionalArguments()[0]);
}