Renamed private members

This commit is contained in:
fourtf
2018-07-06 19:23:47 +02:00
parent 6935619820
commit 280bb4cf8e
141 changed files with 1754 additions and 1861 deletions
+7 -7
View File
@@ -2,22 +2,22 @@
namespace chatterino {
MessageColor::MessageColor(const QColor &_color)
: type(Type::Custom)
, customColor(_color)
MessageColor::MessageColor(const QColor &color)
: type_(Type::Custom)
, customColor_(color)
{
}
MessageColor::MessageColor(Type _type)
: type(_type)
MessageColor::MessageColor(Type type)
: type_(type)
{
}
const QColor &MessageColor::getColor(Theme &themeManager) const
{
switch (this->type) {
switch (this->type_) {
case Type::Custom:
return this->customColor;
return this->customColor_;
case Type::Text:
return themeManager.messages.textColors.regular;
case Type::System: