Merge pull request #968 from apa420/apa-adding-broadcaster-to-viewerlist

Added the broadcaster to the viewer list
This commit is contained in:
pajlada 2019-03-01 18:36:34 +01:00 committed by GitHub
commit 1ea4a74518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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