mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Add missing streamlink option & make preferredQuality lowercase
This commit is contained in:
parent
f3357cf0f4
commit
84186da16c
|
@ -11,7 +11,7 @@
|
||||||
#define LAST_MSG "Show last read message indicator"
|
#define LAST_MSG "Show last read message indicator"
|
||||||
#define PAUSE_HOVERING "When hovering"
|
#define PAUSE_HOVERING "When hovering"
|
||||||
|
|
||||||
#define STREAMLINK_QUALITY "Source", "High", "Medium", "Low", "Audio only"
|
#define STREAMLINK_QUALITY "Choose", "Source", "High", "Medium", "Low", "Audio only"
|
||||||
|
|
||||||
namespace chatterino {
|
namespace chatterino {
|
||||||
namespace widgets {
|
namespace widgets {
|
||||||
|
|
|
@ -371,6 +371,7 @@ void Split::doOpenStreamlink()
|
||||||
{
|
{
|
||||||
singletons::SettingManager &settings = singletons::SettingManager::getInstance();
|
singletons::SettingManager &settings = singletons::SettingManager::getInstance();
|
||||||
QString preferredQuality = settings.preferredQuality;
|
QString preferredQuality = settings.preferredQuality;
|
||||||
|
preferredQuality = preferredQuality.toLower();
|
||||||
// TODO(Confuseh): Default streamlink paths
|
// TODO(Confuseh): Default streamlink paths
|
||||||
QString path = settings.streamlinkPath;
|
QString path = settings.streamlinkPath;
|
||||||
QString channel = QString::fromStdString(this->channelName.getValue());
|
QString channel = QString::fromStdString(this->channelName.getValue());
|
||||||
|
|
Loading…
Reference in a new issue