Commit 7f93818e authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

[Qt6] Use QMultiMapIterator for QMultiMap iteration

parent 7c3d36ad
......@@ -254,7 +254,11 @@ KeyframeWidget::KeyframeWidget(std::shared_ptr<AssetParameterModel> model, QMode
auto *l = new QVBoxLayout;
d.setLayout(l);
l->addWidget(new QLabel(i18n("Select parameters to copy"), &d));
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMapIterator<QPersistentModelIndex, QString> i(paramList);
#else
QMultiMapIterator<QPersistentModelIndex, QString> i(paramList);
#endif
while (i.hasNext()) {
i.next();
auto *cb = new QCheckBox(i.value(), this);
......
Supports Markdown
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