mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #6304
bodwok (1): fix(ui): add group widgets on start with "Activity" mode
This commit is contained in:
commit
8a8f9dd654
@ -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…
x
Reference in New Issue
Block a user