Fixes C1001 compiler error on release builds with MSVC (#1417)

This commit is contained in:
Ian 2019-11-16 11:58:13 +01:00 committed by pajlada
parent 556c2aef2b
commit e3d3f12425
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ void Theme::actuallyUpdate(double hue, double multiplier)
if (getSettings()->highlightColor != "")
{
this->messages.backgrounds.highlighted =
QColor(getSettings()->highlightColor);
QColor(getSettings()->highlightColor.getValue());
}
}

View file

@ -199,7 +199,7 @@ void openStreamlinkForChannel(const QString &channel)
{
QString channelURL = "twitch.tv/" + channel;
QString preferredQuality = getSettings()->preferredQuality;
QString preferredQuality = getSettings()->preferredQuality.getValue();
preferredQuality = preferredQuality.toLower();
if (preferredQuality == "choose")