Fix backwards-compatible Qt6 warnings
This commit is contained in:
committed by
Chris Hennes
parent
c12e1f8bc2
commit
0e24e121eb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user