that should be a literal

master
zetaPRIME 2022-03-13 22:53:47 -04:00
parent 06230dde55
commit 53f2f27285
1 changed files with 1 additions and 1 deletions

View File

@ -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