1
0
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:
Anthony Bilinski 2021-06-06 03:25:21 -07:00
parent e6bc355bc7
commit f3f1f08afb
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -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}
{