Commit fae2d542 authored by Fawzi Mohamed's avatar Fawzi Mohamed

qmljs: fix PathsAndLanguages::compact, don't skip tail

Change-Id: Ie6f99ec2728f8584031d6b6f7d8c3c897300ea9e
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 21032137
......@@ -312,6 +312,7 @@ void PathsAndLanguages::compact() {
}
if (oldCompactionPlace == 0)
return;
compactedList << m_list.mid(oldCompactionPlace);
if (restrictFailed)
qCWarning(qmljsLog) << "failed to restrict PathAndLanguages " << m_list;
m_list = compactedList;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment