Commit 4f342198 authored by Thomas Schöps's avatar Thomas Schöps

WIP: Arrange C++ sources left of headers (instead of right of them)

parent 56ad5989
Pipeline #7492 passed with stage
in 47 minutes and 42 seconds
......@@ -227,7 +227,7 @@ bool buddyOrder(const QUrl &url1, const QUrl& url2)
auto type1 = basePathAndTypeForUrl(url1);
auto type2 = basePathAndTypeForUrl(url2);
// Precondition is that the two URLs are buddies, so don't check it
return(type1.second == Header && type2.second == Source);
return(type1.second == Source && type2.second == Header);
}
QVector<QUrl> potentialBuddies(const QUrl& url, bool checkDUChain)
......
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