small refactor

This commit is contained in:
fourtf
2018-11-14 17:26:08 +01:00
parent 0f9ef9d0aa
commit d8fcc1a3ed
10 changed files with 106 additions and 128 deletions
@@ -80,8 +80,8 @@ class TextLayoutElement : public MessageLayoutElement
{
public:
TextLayoutElement(MessageElement &creator_, QString &text,
const QSize &size, QColor color, FontStyle style,
float scale);
const QSize &size, QColor color_, FontStyle style_,
float scale_);
void listenToLinkChanges();
@@ -95,9 +95,9 @@ protected:
int getXFromIndex(int index) override;
private:
QColor color;
FontStyle style;
float scale;
QColor color_;
FontStyle style_;
float scale_;
std::vector<pajlada::Signals::ScopedConnection> managedConnections_;
};