Fix all warnings that we care about

This commit is contained in:
Rasmus Karlsson
2017-05-27 16:16:39 +02:00
parent 896cf7a03b
commit c4de5c806a
17 changed files with 95 additions and 104 deletions
+5 -5
View File
@@ -5,12 +5,12 @@ namespace chatterino {
namespace widgets {
ScrollBarHighlight::ScrollBarHighlight(float position, int colorIndex, Style style, QString tag)
: _position(position)
: _style(style)
, _position(position)
, _colorIndex(std::max(0, std::min(ColorScheme::getInstance().HighlightColorCount, colorIndex)))
, _style(style)
, _tag(tag)
, next(NULL)
{
}
}
}
} // namespace widgets
} // namespace chatterino