From 6c14fca216af8c6a08a2fead704755d214cf4eb4 Mon Sep 17 00:00:00 2001 From: TranRed Date: Sun, 14 Jul 2019 11:43:57 +0200 Subject: [PATCH] Make viewer list float - makes viewer list float - changed Vip to VIP - added myself as contributor --- resources/contributors.txt | 2 +- src/widgets/splits/Split.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/contributors.txt b/resources/contributors.txt index 10bf742c0..3be820bc6 100644 --- a/resources/contributors.txt +++ b/resources/contributors.txt @@ -25,12 +25,12 @@ nforro | https://github.com/nforro | | Contributor vanolpfan | https://github.com/vanolpfan | | Contributor 23rd | https://github.com/23rd | | Contributor machgo | https://github.com/machgo | | Contributor +TranRed | https://github.com/TranRed | | Contributor Defman21 | https://github.com/Defman21 | | Documentation Jarel1337 | https://github.com/Jarel1337 | | Documentation Ian321 | https://github.com/Ian321 | | Documentation Yardanico | https://github.com/Yardanico | | Documentation huti26 | https://github.com/huti26 | | Documentation chrisduerr | https://github.com/chrisduerr | | Documentation -TranRed | https://github.com/TranRed | | Documentation # Add yourself right above this line diff --git a/src/widgets/splits/Split.cpp b/src/widgets/splits/Split.cpp index 785665dde..c53d0285a 100644 --- a/src/widgets/splits/Split.cpp +++ b/src/widgets/splits/Split.cpp @@ -538,7 +538,7 @@ void Split::showViewerList() auto chattersList = new QListWidget(); auto resultList = new QListWidget(); - static QStringList labels = {"Broadcaster", "Vips", "Moderators", + static QStringList labels = {"Broadcaster", "VIPs", "Moderators", "Staff", "Admins", "Global Moderators", "Viewers"}; static QStringList jsonLabels = {"broadcaster", "vips", "moderators", @@ -631,7 +631,9 @@ void Split::showViewerList() multiWidget->setStyleSheet(this->theme->splits.input.styleSheet); multiWidget->setLayout(dockVbox); viewerDock->setWidget(multiWidget); + viewerDock->setFloating(true); viewerDock->show(); + viewerDock->activateWindow(); } void Split::copyToClipboard()