Introduce versioning on main configuration file

This commit is contained in:
Chocobo1
2021-12-05 12:43:42 +08:00
parent cbc2de6b85
commit b8a7ecfe69
2 changed files with 22 additions and 8 deletions

View File

@@ -146,9 +146,9 @@ namespace Utils
{
return Version(s);
}
catch (const RuntimeError &er)
catch (const RuntimeError &error)
{
qDebug() << "Error parsing version:" << er.message();
qDebug() << "Error parsing version:" << error.message();
return defaultVersion;
}
}