Skip to content

Commit

Permalink
perf: don't force-layout in setChannel (#5737)
Browse files Browse the repository at this point in the history
* perf: don't force-layout in `setChannel`

* chore: add changelog entry

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
  • Loading branch information
Nerixyz and pajlada authored Nov 28, 2024
1 parent 303ca0a commit f6d6e2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
- Dev: 7TV's `entitlement.reset` is now explicitly ignored. (#5685)
- Dev: Qt 6.8 and later now default to the GDI fontengine. (#5710)
- Dev: Moved to condition variables when shutting down worker threads. (#5721, #5733)
- Dev: Reduced layouts in channel views when setting a channel. (#5737)

## 2.5.1

Expand Down
2 changes: 1 addition & 1 deletion src/widgets/helper/ChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ void ChannelView::setChannel(const ChannelPtr &underlyingChannel)

this->updateID();

this->performLayout();
this->queueLayout();
this->queueUpdate();

// Notifications
Expand Down

0 comments on commit f6d6e2c

Please sign in to comment.