mirror of https://code.videolan.org/videolan/vlc
qt: use const reference in medialib.cpp
This commit is contained in:
parent
6a9b9ba244
commit
839924f737
|
@ -372,7 +372,7 @@ void MediaLib::mlInputItem(const QVector<MLItemId>& itemIdVector, QJSValue callb
|
|||
i++;
|
||||
}
|
||||
|
||||
for (auto cb : qAsConst(it.value())) // TODO: Qt 6 use const reference
|
||||
for (const auto& cb : qAsConst(it.value()))
|
||||
{
|
||||
cb.call({jsArray});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue