Renamed variables to clear some warnings.
This commit is contained in:
@@ -27,9 +27,9 @@ void Theme::actuallyUpdate(double hue, double multiplier)
|
||||
return QColor::fromHslF(h, s, ((l - 0.5) * multiplier) + 0.5, a);
|
||||
};
|
||||
|
||||
auto sat = qreal(0);
|
||||
auto isLight_ = this->isLightTheme();
|
||||
auto flat = isLight_;
|
||||
const auto sat = qreal(0);
|
||||
const auto isLight = this->isLightTheme();
|
||||
const auto flat = isLight;
|
||||
|
||||
if (this->isLightTheme())
|
||||
{
|
||||
@@ -61,7 +61,7 @@ void Theme::actuallyUpdate(double hue, double multiplier)
|
||||
this->splits.header.border = getColor(0, sat, flat ? 1 : 0.85);
|
||||
this->splits.header.text = this->messages.textColors.regular;
|
||||
this->splits.header.focusedText =
|
||||
isLight_ ? QColor("#198CFF") : QColor("#84C1FF");
|
||||
isLight ? QColor("#198CFF") : QColor("#84C1FF");
|
||||
|
||||
this->splits.input.background = getColor(0, sat, flat ? 0.95 : 0.95);
|
||||
this->splits.input.border = getColor(0, sat, flat ? 1 : 1);
|
||||
@@ -71,13 +71,13 @@ void Theme::actuallyUpdate(double hue, double multiplier)
|
||||
"border:" + this->tabs.selected.backgrounds.regular.color().name() +
|
||||
";" + "color:" + this->messages.textColors.regular.name() + ";" + //
|
||||
"selection-background-color:" +
|
||||
(isLight_ ? "#68B1FF"
|
||||
(isLight ? "#68B1FF"
|
||||
: this->tabs.selected.backgrounds.regular.color().name());
|
||||
|
||||
this->splits.input.focusedLine = this->tabs.highlighted.line.regular;
|
||||
|
||||
this->splits.messageSeperator =
|
||||
isLight_ ? QColor(127, 127, 127) : QColor(60, 60, 60);
|
||||
isLight ? QColor(127, 127, 127) : QColor(60, 60, 60);
|
||||
this->splits.background = getColor(0, sat, 1);
|
||||
this->splits.dropPreview = QColor(0, 148, 255, 0x30);
|
||||
this->splits.dropPreviewBorder = QColor(0, 148, 255, 0xff);
|
||||
|
||||
Reference in New Issue
Block a user