reformat messagecolor class

This commit is contained in:
Rasmus Karlsson 2017-12-16 17:53:48 +01:00
parent b13b8a2ce6
commit 3cc19bd4ce
2 changed files with 8 additions and 4 deletions

View file

@ -2,6 +2,7 @@
namespace chatterino { namespace chatterino {
namespace messages { namespace messages {
MessageColor::MessageColor(const QColor &_color) MessageColor::MessageColor(const QColor &_color)
: type(Type::Custom) : type(Type::Custom)
, color(_color) , color(_color)
@ -34,5 +35,6 @@ const QColor &MessageColor::getColor(ColorScheme &colorScheme) const
static QColor _default; static QColor _default;
return _default; return _default;
} }
}
} } // namespace messages
} // namespace chatterino

View file

@ -6,6 +6,7 @@
namespace chatterino { namespace chatterino {
namespace messages { namespace messages {
class MessageColor class MessageColor
{ {
public: public:
@ -21,5 +22,6 @@ private:
Type type; Type type;
QColor color; QColor color;
}; };
}
} } // namespace messages
} // namespace chatterino