ProjectVersion tests, fix mixleading comment

This commit is contained in:
Lukas W committed 2016-08-29 09:04:37 +02:00
1 parent d2a5c496ab
commit 37dfa492dc
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -111,7 +111,7 @@ int ProjectVersion::compare(const ProjectVersion & a, const ProjectVersion & b,
return 0;
}
// make sure 0.x.y > 0.x.y-patch
// make sure 0.x.y > 0.x.y-alpha
if(a.getBuild().isEmpty())
{
return 1;
@@ -121,6 +121,7 @@ int ProjectVersion::compare(const ProjectVersion & a, const ProjectVersion & b,
return -1;
}
// 0.x.y-beta > 0.x.y-alpha
return QString::compare(a.getBuild(), b.getBuild());
}