Added the broadcaster to the viewerlist close #967

This commit is contained in:
apa420 2019-03-01 18:08:21 +01:00
parent bfa002d3a1
commit 2948f3cc8b

View file

@ -538,10 +538,10 @@ void Split::showViewerList()
auto chattersList = new QListWidget(); auto chattersList = new QListWidget();
auto resultList = new QListWidget(); auto resultList = new QListWidget();
static QStringList labels = {"Moderators", "Staff", "Admins", static QStringList labels = {"Broadcaster", "Moderators", "Staff",
"Global Moderators", "Viewers"}; "Admins", "Global Moderators", "Viewers"};
static QStringList jsonLabels = {"moderators", "staff", "admins", static QStringList jsonLabels = {"broadcaster", "moderators", "staff",
"global_mods", "viewers"}; "admins", "global_mods", "viewers"};
QList<QListWidgetItem *> labelList; QList<QListWidgetItem *> labelList;
for (auto &x : labels) for (auto &x : labels)
{ {