Merge pull request #1198 from TheKodeToad/remove-a-space

This commit is contained in:
Sefa Eyeoglu 2023-06-16 09:42:41 +02:00 committed by GitHub
commit 5d3329b1ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,10 @@ QString InstanceName::name() const
{ {
if (!m_modified_name.isEmpty()) if (!m_modified_name.isEmpty())
return modifiedName(); return modifiedName();
if (!m_original_version.isEmpty())
return QString("%1 %2").arg(m_original_name, m_original_version); return QString("%1 %2").arg(m_original_name, m_original_version);
return m_original_name;
} }
QString InstanceName::originalName() const QString InstanceName::originalName() const