mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 05:44:52 +00:00
Fix the C++ build
Remove the Optional from the evaluation context passing for property evaluation. Unfortunately there are nullptr uses left on the C++ side, that need to be replaced with passing through.
This commit is contained in:
parent
4f9c53879b
commit
f2df9293a9
10 changed files with 42 additions and 50 deletions
|
@ -20,9 +20,9 @@ struct Property
|
|||
|
||||
void set(const T &value) const { this->value = value; }
|
||||
|
||||
const T &get() const
|
||||
const T &get(internal::EvaluationContext *context) const
|
||||
{
|
||||
internal::sixtyfps_property_update(&inner, &value);
|
||||
internal::sixtyfps_property_update(&inner, context, &value);
|
||||
return value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue