Make viewer list float

- makes viewer list float
- changed Vip to VIP
- added myself as contributor
This commit is contained in:
TranRed 2019-07-14 11:43:57 +02:00
parent feef6c6aaa
commit 6c14fca216
2 changed files with 4 additions and 2 deletions

View file

@ -25,12 +25,12 @@ nforro | https://github.com/nforro | | Contributor
vanolpfan | https://github.com/vanolpfan | | Contributor vanolpfan | https://github.com/vanolpfan | | Contributor
23rd | https://github.com/23rd | | Contributor 23rd | https://github.com/23rd | | Contributor
machgo | https://github.com/machgo | | Contributor machgo | https://github.com/machgo | | Contributor
TranRed | https://github.com/TranRed | | Contributor
Defman21 | https://github.com/Defman21 | | Documentation Defman21 | https://github.com/Defman21 | | Documentation
Jarel1337 | https://github.com/Jarel1337 | | Documentation Jarel1337 | https://github.com/Jarel1337 | | Documentation
Ian321 | https://github.com/Ian321 | | Documentation Ian321 | https://github.com/Ian321 | | Documentation
Yardanico | https://github.com/Yardanico | | Documentation Yardanico | https://github.com/Yardanico | | Documentation
huti26 | https://github.com/huti26 | | Documentation huti26 | https://github.com/huti26 | | Documentation
chrisduerr | https://github.com/chrisduerr | | Documentation chrisduerr | https://github.com/chrisduerr | | Documentation
TranRed | https://github.com/TranRed | | Documentation
# Add yourself right above this line # Add yourself right above this line

View file

@ -538,7 +538,7 @@ void Split::showViewerList()
auto chattersList = new QListWidget(); auto chattersList = new QListWidget();
auto resultList = new QListWidget(); auto resultList = new QListWidget();
static QStringList labels = {"Broadcaster", "Vips", "Moderators", static QStringList labels = {"Broadcaster", "VIPs", "Moderators",
"Staff", "Admins", "Global Moderators", "Staff", "Admins", "Global Moderators",
"Viewers"}; "Viewers"};
static QStringList jsonLabels = {"broadcaster", "vips", "moderators", static QStringList jsonLabels = {"broadcaster", "vips", "moderators",
@ -631,7 +631,9 @@ void Split::showViewerList()
multiWidget->setStyleSheet(this->theme->splits.input.styleSheet); multiWidget->setStyleSheet(this->theme->splits.input.styleSheet);
multiWidget->setLayout(dockVbox); multiWidget->setLayout(dockVbox);
viewerDock->setWidget(multiWidget); viewerDock->setWidget(multiWidget);
viewerDock->setFloating(true);
viewerDock->show(); viewerDock->show();
viewerDock->activateWindow();
} }
void Split::copyToClipboard() void Split::copyToClipboard()