Fixed version number comparison bug and a little tidying

This commit is contained in:
Nav
2023-07-18 21:56:35 +01:00
parent 1383886545
commit 614255c850
4 changed files with 28 additions and 47 deletions

View File

@@ -32,9 +32,9 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
QJsonDocument(QJsonObject({
{"version", QString::fromStdString(Application::VERSION.toString())},
{"components", QJsonObject({
{"major", Application::VERSION.getMajor()},
{"minor", Application::VERSION.getMinor()},
{"patch", Application::VERSION.getPatch()},
{"major", Application::VERSION.major},
{"minor", Application::VERSION.minor},
{"patch", Application::VERSION.patch},
})},
})).toJson().toStdString()
)));