use 'Self' to refer to own type
This commit is contained in:
parent
a88cbad37f
commit
b9723dd5e0
15 changed files with 48 additions and 54 deletions
|
|
@ -68,7 +68,7 @@ impl cosmic::Application for Window {
|
|||
gaps.value = core.system_theme().cosmic().gaps.1 as i32;
|
||||
let mut active_hint = spin_button::Model::default().max(99).min(0).step(1);
|
||||
active_hint.value = core.system_theme().cosmic().active_hint as i32;
|
||||
let window = Window {
|
||||
let window = Self {
|
||||
core,
|
||||
gaps,
|
||||
active_hint,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue