removed flame consturctor

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-09-28 22:53:40 +03:00
parent 9acbf98f94
commit 5b7c5607a9
4 changed files with 32 additions and 20 deletions

View File

@ -32,23 +32,6 @@ static const QMap<QString, IndexedVersionType::VersionType> s_indexed_version_ty
IndexedVersionType::IndexedVersionType(const QString& type) : IndexedVersionType(enumFromString(type)) {}
IndexedVersionType::IndexedVersionType(int flame_type)
{
switch (flame_type) {
case 1:
m_type = IndexedVersionType::VersionType::Release;
break;
case 2:
m_type = IndexedVersionType::VersionType::Beta;
break;
case 3:
m_type = IndexedVersionType::VersionType::Alpha;
break;
default:
m_type = IndexedVersionType::VersionType::Unknown;
}
}
IndexedVersionType::IndexedVersionType(const IndexedVersionType::VersionType& type)
{
m_type = type;