fixed uninitialized variable

This commit is contained in:
itsmattkc
2020-11-18 14:10:56 +11:00
parent b3c3fe0fc8
commit 5ff234de92
+1 -1
View File
@@ -37,7 +37,7 @@ ProjectLoadTask::ProjectLoadTask(const QString &filename) :
bool ProjectLoadTask::Run()
{
QFile project_file(GetFilename());
uint project_version;
uint project_version = Core::kProjectVersion;
if (project_file.open(QFile::ReadOnly | QFile::Text)) {
QXmlStreamReader reader(&project_file);