Add missing streamlink option & make preferredQuality lowercase
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user