mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Compare commits
2 commits
acf91f8cf7
...
5ae609f2e3
Author | SHA1 | Date | |
---|---|---|---|
|
5ae609f2e3 | ||
|
63f363e5a9 |
2 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
||||||
- Minor: Tabs unhighlight when their content is read in other tabs. (#5649)
|
- Minor: Tabs unhighlight when their content is read in other tabs. (#5649)
|
||||||
- Minor: Made usernames in bits and sub messages clickable. (#5686)
|
- Minor: Made usernames in bits and sub messages clickable. (#5686)
|
||||||
- Minor: Mentions of FrankerFaceZ and BetterTTV in settings are standardized as such. (#5698)
|
- Minor: Mentions of FrankerFaceZ and BetterTTV in settings are standardized as such. (#5698)
|
||||||
|
- Minor: Emote names are no longer duplicated when using smarter emote completion. (#5705)
|
||||||
- Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426, #5612)
|
- Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426, #5612)
|
||||||
- Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378)
|
- Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378)
|
||||||
- Bugfix: Fixed restricted users usernames not being clickable. (#5405)
|
- Bugfix: Fixed restricted users usernames not being clickable. (#5405)
|
||||||
|
|
|
@ -43,11 +43,15 @@ void TabCompletionModel::updateResults(const QString &query,
|
||||||
query, fullTextContent, cursorPosition, isFirstWord);
|
query, fullTextContent, cursorPosition, isFirstWord);
|
||||||
if (done)
|
if (done)
|
||||||
{
|
{
|
||||||
|
auto uniqueResults = std::unique(results.begin(), results.end());
|
||||||
|
results.erase(uniqueResults, results.end());
|
||||||
this->setStringList(results);
|
this->setStringList(results);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
this->source_->addToStringList(results, 0, isFirstWord);
|
this->source_->addToStringList(results, 0, isFirstWord);
|
||||||
|
auto uniqueResults = std::unique(results.begin(), results.end());
|
||||||
|
results.erase(uniqueResults, results.end());
|
||||||
this->setStringList(results);
|
this->setStringList(results);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue