mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
C++ docs: minor cleanup in generated code sample
Encode the return type only once, not twice
This commit is contained in:
parent
4c3da0ebc2
commit
5a7ac1735d
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public:
|
||||||
inline void hide () const;
|
inline void hide () const;
|
||||||
|
|
||||||
/// Getter for the `counter` property
|
/// Getter for the `counter` property
|
||||||
inline int get_counter () const -> int;
|
inline int get_counter () const;
|
||||||
/// Setter for the `counter` property
|
/// Setter for the `counter` property
|
||||||
inline void set_counter (const int &value) const;
|
inline void set_counter (const int &value) const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue