mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
C++: fix creating a gradient from a const reference to a color
This commit is contained in:
parent
c2433d0f0b
commit
0a46b367e2
2 changed files with 5 additions and 1 deletions
|
@ -177,7 +177,7 @@ public:
|
|||
|
||||
#if !defined(DOXYGEN)
|
||||
// FIXME: we need this to create GradientStop
|
||||
operator const cbindgen_private::types::Color &() { return inner; }
|
||||
operator const cbindgen_private::types::Color &() const { return inner; }
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue