--- a/src/ldpaths.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/ldpaths.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -55,7 +55,7 @@ QStringList mustHave = { "LDConfig.ldr", "parts", "p" }; QStringList contents = dir.entryList (mustHave); - if (contents.size() == mustHave.size()) + if (length(contents) == length(mustHave)) m_error = ""; else m_error = "That is not an LDraw directory! It must<br />have LDConfig.ldr, parts/ and p/.";