Fix backwards-compatible Qt6 warnings

This commit is contained in:
Johannes Wüller
2024-05-06 15:27:06 +02:00
committed by Chris Hennes
parent c12e1f8bc2
commit 0e24e121eb
22 changed files with 44 additions and 43 deletions

View File

@@ -362,7 +362,7 @@ void DlgPropertyLink::init(const App::DocumentObjectT &prop, bool tryFilter) {
// For link list type property, try to auto filter type
if(tryFilter && isLinkList) {
Base::Type objType;
for(const auto& link : qAsConst(oldLinks)) {
for(const auto& link : std::as_const(oldLinks)) {
auto obj = link.getSubObject();
if(!obj)
continue;