mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Compare commits
3 commits
5b1ce32a4e
...
63f363e5a9
Author | SHA1 | Date | |
---|---|---|---|
|
63f363e5a9 | ||
|
6ceb987e7e | ||
|
fc8d27b7e2 |
5 changed files with 16 additions and 3 deletions
4
.github/workflows/clang-tidy.yml
vendored
4
.github/workflows/clang-tidy.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
|||
|
||||
- name: clang-tidy review
|
||||
timeout-minutes: 20
|
||||
uses: ZedThree/clang-tidy-review@v0.19.0
|
||||
uses: ZedThree/clang-tidy-review@v0.20.0
|
||||
with:
|
||||
build_dir: build-clang-tidy
|
||||
config_file: ".clang-tidy"
|
||||
|
@ -63,4 +63,4 @@ jobs:
|
|||
libxkbcommon-x11-0, libxcb-xkb-dev, libxcb-cursor0
|
||||
|
||||
- name: clang-tidy-review upload
|
||||
uses: ZedThree/clang-tidy-review/upload@v0.19.0
|
||||
uses: ZedThree/clang-tidy-review/upload@v0.20.0
|
||||
|
|
2
.github/workflows/post-clang-tidy-review.yml
vendored
2
.github/workflows/post-clang-tidy-review.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
|
||||
steps:
|
||||
- uses: ZedThree/clang-tidy-review/post@v0.19.0
|
||||
- uses: ZedThree/clang-tidy-review/post@v0.20.0
|
||||
with:
|
||||
lgtm_comment_body: ""
|
||||
num_comments_as_exitcode: false
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
- Minor: Tabs unhighlight when their content is read in other tabs. (#5649)
|
||||
- Minor: Made usernames in bits and sub messages clickable. (#5686)
|
||||
- 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: 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)
|
||||
|
@ -71,6 +72,7 @@
|
|||
- Bugfix: Fixed 7TV emotes messing with Qt's HTML. (#5677)
|
||||
- Bugfix: Fixed incorrect messages getting replaced visually. (#5683)
|
||||
- Bugfix: Fixed rendering of multi-line selection that starts at a trailing space. (#5691)
|
||||
- Bugfix: Fixed pause indicator not appearing in certain cases. (#5707)
|
||||
- Dev: Update Windows build from Qt 6.5.0 to Qt 6.7.1. (#5420)
|
||||
- Dev: Update vcpkg build Qt from 6.5.0 to 6.7.0, boost from 1.83.0 to 1.85.0, openssl from 3.1.3 to 3.3.0. (#5422)
|
||||
- Dev: Unsingletonize `ISoundController`. (#5462)
|
||||
|
|
|
@ -43,11 +43,15 @@ void TabCompletionModel::updateResults(const QString &query,
|
|||
query, fullTextContent, cursorPosition, isFirstWord);
|
||||
if (done)
|
||||
{
|
||||
auto uniqueResults = std::unique(results.begin(), results.end());
|
||||
results.erase(uniqueResults, results.end());
|
||||
this->setStringList(results);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
this->source_->addToStringList(results, 0, isFirstWord);
|
||||
auto uniqueResults = std::unique(results.begin(), results.end());
|
||||
results.erase(uniqueResults, results.end());
|
||||
this->setStringList(results);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -474,6 +474,8 @@ bool ChannelView::paused() const
|
|||
|
||||
void ChannelView::pause(PauseReason reason, std::optional<uint> msecs)
|
||||
{
|
||||
bool wasUnpaused = !this->paused();
|
||||
|
||||
if (msecs)
|
||||
{
|
||||
/// Msecs has a value
|
||||
|
@ -504,6 +506,11 @@ void ChannelView::pause(PauseReason reason, std::optional<uint> msecs)
|
|||
}
|
||||
|
||||
this->updatePauses();
|
||||
|
||||
if (wasUnpaused)
|
||||
{
|
||||
this->update();
|
||||
}
|
||||
}
|
||||
|
||||
void ChannelView::unpause(PauseReason reason)
|
||||
|
|
Loading…
Reference in a new issue