mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(ui): add group widgets on start with "Activity" mode
This commit is contained in:
parent
817ff3eb1f
commit
b98801f42f
|
@ -115,8 +115,10 @@ FriendListWidget::FriendListWidget(const Core &_core, Widget* parent, bool group
|
|||
|
||||
mode = Settings::getInstance().getFriendSortingMode();
|
||||
sortByMode(mode);
|
||||
if (mode != SortingMode::Name) {
|
||||
listLayout->insertLayout(0, groupLayout.getLayout());
|
||||
}
|
||||
|
||||
onGroupchatPositionChanged(groupsOnTop);
|
||||
dayTimer = new QTimer(this);
|
||||
dayTimer->setTimerType(Qt::VeryCoarseTimer);
|
||||
connect(dayTimer, &QTimer::timeout, this, &FriendListWidget::dayTimeout);
|
||||
|
|
Loading…
Reference in New Issue
Block a user