|
|
|
@ -218,7 +218,7 @@ void GroupChatForm::updateUserNames()
@@ -218,7 +218,7 @@ void GroupChatForm::updateUserNames()
|
|
|
|
|
// add the labels in alphabetical order into the layout
|
|
|
|
|
auto nickLabelList = peerLabels.values(); |
|
|
|
|
|
|
|
|
|
qSort(nickLabelList.begin(), nickLabelList.end(), [](const QLabel* a, const QLabel* b) |
|
|
|
|
std::sort(nickLabelList.begin(), nickLabelList.end(), [](const QLabel* a, const QLabel* b) |
|
|
|
|
{ |
|
|
|
|
return a->text().toLower() < b->text().toLower(); |
|
|
|
|
}); |
|
|
|
|