mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Filtering trailing/leading whitespace in username field in nicknames. (#3946)
This commit is contained in:
parent
8ec032fc84
commit
7a4eda0e30
2 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@
|
|||
- Minor: Reduced image memory usage when running Chatterino for a long time. (#3915)
|
||||
- Minor: Add settings to toggle BTTV/FFZ global/channel emotes (#3935)
|
||||
- Minor: Add AutoMod message flag filter. (#3938)
|
||||
- Minor: Added whitespace trim to username field in nicknames (#3946)
|
||||
- Bugfix: Fix crash that can occur when closing and quickly reopening a split, then running a command. (#3852)
|
||||
- Bugfix: Connection to Twitch PubSub now recovers more reliably. (#3643, #3716)
|
||||
- Bugfix: Fix crash that can occur when changing channels. (#3799)
|
||||
|
|
|
@ -16,7 +16,7 @@ NicknamesModel::NicknamesModel(QObject *parent)
|
|||
Nickname NicknamesModel::getItemFromRow(std::vector<QStandardItem *> &row,
|
||||
const Nickname &original)
|
||||
{
|
||||
return Nickname{row[0]->data(Qt::DisplayRole).toString(),
|
||||
return Nickname{row[0]->data(Qt::DisplayRole).toString().trimmed(),
|
||||
row[1]->data(Qt::DisplayRole).toString(),
|
||||
row[2]->data(Qt::CheckStateRole).toBool(),
|
||||
row[3]->data(Qt::CheckStateRole).toBool()};
|
||||
|
|
Loading…
Reference in a new issue