mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(ui): using the isCompact function
This commit is contained in:
parent
e6bc355bc7
commit
f3f1f08afb
|
@ -41,7 +41,7 @@
|
|||
QHash<int, CircleWidget*> CircleWidget::circleList;
|
||||
|
||||
CircleWidget::CircleWidget(const Core &_core, FriendListWidget* parent, int id)
|
||||
: CategoryWidget(Settings::getInstance().getCompactLayout(), parent)
|
||||
: CategoryWidget(isCompact(), parent)
|
||||
, id(id)
|
||||
, core{_core}
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user