Remove end dash from title
This commit is contained in:
parent
93f0230423
commit
e9e0829cdc
@ -930,6 +930,9 @@ QString ReplaceMessage(const QString &message, const Song &song, const QString &
|
||||
pos += variable_replacer.matchedLength();
|
||||
}
|
||||
|
||||
int index_of = copy.indexOf(QRegExp(" - (>|$)"));
|
||||
if (index_of >= 0) copy = copy.remove(index_of, 3);
|
||||
|
||||
return copy;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user