Add missing streamlink option & make preferredQuality lowercase

This commit is contained in:
confuseh 2018-01-17 17:40:16 +00:00 committed by fourtf
parent f3357cf0f4
commit 84186da16c
2 changed files with 2 additions and 1 deletions

View file

@ -11,7 +11,7 @@
#define LAST_MSG "Show last read message indicator"
#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 widgets {

View file

@ -371,6 +371,7 @@ void Split::doOpenStreamlink()
{
singletons::SettingManager &settings = singletons::SettingManager::getInstance();
QString preferredQuality = settings.preferredQuality;
preferredQuality = preferredQuality.toLower();
// TODO(Confuseh): Default streamlink paths
QString path = settings.streamlinkPath;
QString channel = QString::fromStdString(this->channelName.getValue());