Fix trailing space in instance name
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
8bf5ba2836
commit
13804f80de
@ -45,7 +45,10 @@ QString InstanceName::name() const
|
|||||||
{
|
{
|
||||||
if (!m_modified_name.isEmpty())
|
if (!m_modified_name.isEmpty())
|
||||||
return modifiedName();
|
return modifiedName();
|
||||||
return QString("%1 %2").arg(m_original_name, m_original_version);
|
if (!m_original_version.isEmpty())
|
||||||
|
return QString("%1 %2").arg(m_original_name, m_original_version);
|
||||||
|
|
||||||
|
return m_original_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString InstanceName::originalName() const
|
QString InstanceName::originalName() const
|
||||||
|
Loading…
Reference in New Issue
Block a user