Remove trailing whitespace from Usernames in User Highlights (#4051)
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user