mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-24 18:50:35 +03:00
feat: add policy pointer to standard model item
This commit is contained in:
parent
5c7d7ef1b6
commit
7952cc0a87
@ -276,6 +276,8 @@ bool PolicyBundle::loadAdmxAndAdml(const QFileInfo& admxFileName, const std::str
|
||||
}
|
||||
}
|
||||
|
||||
policyItem->setData(QVariant::fromValue(policy), Qt::UserRole + 6);
|
||||
|
||||
d->unassignedItems.push_back(container);
|
||||
}
|
||||
}
|
||||
@ -394,3 +396,4 @@ void PolicyBundle::assignSupportedOn()
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<::model::presentation::Presentation>)
|
||||
Q_DECLARE_METATYPE(std::shared_ptr<::model::admx::Policy>)
|
||||
|
Loading…
x
Reference in New Issue
Block a user