qt6 support

This commit is contained in:
2022-01-31 19:54:39 +03:00
parent 73240ef898
commit fb56502f13
11 changed files with 175 additions and 33 deletions

View File

@@ -252,7 +252,7 @@ Scene * loadScene(const QString & filepath) {
scene->setName(root->name());
foreach (ObjectBase * o, root->children())
scene->addObject(o);
lights.removeAll(0);
lights.removeAll(nullptr);
qDeleteAll(lights);
return scene;