Remove trailing whitespace from Usernames in User Highlights (#4051)

This commit is contained in:
Felanbird
2022-10-06 18:42:41 -04:00
committed by GitHub
parent 874ef64216
commit 7f93885518
2 changed files with 3 additions and 2 deletions
@@ -26,7 +26,7 @@ HighlightPhrase UserHighlightModel::getItemFromRow(
row[Column::Color]->data(Qt::DecorationRole).value<QColor>();
return HighlightPhrase{
row[Column::Pattern]->data(Qt::DisplayRole).toString(),
row[Column::Pattern]->data(Qt::DisplayRole).toString().trimmed(),
row[Column::ShowInMentions]->data(Qt::CheckStateRole).toBool(),
row[Column::FlashTaskbar]->data(Qt::CheckStateRole).toBool(),
row[Column::PlaySound]->data(Qt::CheckStateRole).toBool(),