that should be a literal
parent
06230dde55
commit
53f2f27285
|
@ -181,7 +181,7 @@ std::shared_ptr<Project> FileOps::loadProject(QString fileName, bool asTemplate)
|
|||
}
|
||||
|
||||
// header and sanity checks
|
||||
if (root.at(0) != QString("xybrid:project")) return nullptr; // not a project
|
||||
if (root.at(0) != qs("xybrid:project")) return nullptr; // not a project
|
||||
if (auto v = root.at(1); !v.isInteger() || v.toInteger() > XYBRID_VERSION) return nullptr; // invalid version or too new
|
||||
if (!root.at(2).isMap()) return nullptr; // so close, but... nope
|
||||
|
||||
|
|
Loading…
Reference in New Issue