From f3f1f08afbe0619e9a4aec89917cadd30866c47c Mon Sep 17 00:00:00 2001 From: Anthony Bilinski Date: Sun, 6 Jun 2021 03:25:21 -0700 Subject: [PATCH] refactor(ui): using the isCompact function --- src/widget/circlewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/circlewidget.cpp b/src/widget/circlewidget.cpp index 2eca8ddfd..0f3c8c629 100644 --- a/src/widget/circlewidget.cpp +++ b/src/widget/circlewidget.cpp @@ -41,7 +41,7 @@ QHash CircleWidget::circleList; CircleWidget::CircleWidget(const Core &_core, FriendListWidget* parent, int id) - : CategoryWidget(Settings::getInstance().getCompactLayout(), parent) + : CategoryWidget(isCompact(), parent) , id(id) , core{_core} {