added settingssnapshot

This commit is contained in:
fourtf
2017-01-24 20:15:12 +01:00
parent de8f6d1e82
commit 3d6b9f7645
15 changed files with 38 additions and 34 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ ScrollBarHighlight::ScrollBarHighlight(float position, int colorIndex,
Style style, QString tag)
: position(position)
, colorIndex(std::max(
0, std::min(ColorScheme::instance().HighlightColorCount, colorIndex)))
0, std::min(ColorScheme::getInstance().HighlightColorCount, colorIndex)))
, style(style)
, tag(tag)
, next(NULL)