--- a/src/colors.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/colors.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -378,7 +378,7 @@ */ bool LDConfigParser::getToken(QString& tokenText, int position) { - if (position >= m_tokens.size()) + if (position >= length(m_tokens)) { return false; } @@ -399,7 +399,7 @@ */ bool LDConfigParser::findToken(int& tokenPosition, QString needle, int args) { - for (int i = 0; i < (m_tokens.size() - args); ++i) + for (int i = 0; i < (length(m_tokens) - args); ++i) { if (m_tokens[i] == needle) {