1
0
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:
Anthony Bilinski 2021-02-19 19:05:06 -08:00
commit 8a8f9dd654
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -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);