|| and && have different binding precedence

pull/3235/head
AnyOldName3 8 months ago
parent d148bd1cde
commit b55a0fd32a

@ -602,8 +602,8 @@ void ContentSelectorModel::ContentModel::sortFiles()
emit layoutAboutToBeChanged();
int firstModifiable = 0;
while (firstModifiable < mFiles.size() && mFiles.at(firstModifiable)->builtIn()
|| mFiles.at(firstModifiable)->fromAnotherConfigFile())
while (firstModifiable < mFiles.size()
&& (mFiles.at(firstModifiable)->builtIn() || mFiles.at(firstModifiable)->fromAnotherConfigFile()))
++firstModifiable;
// Dependency sort

Loading…
Cancel
Save