mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Implement some Clippy suggestions
This commit is contained in:
parent
66af523d5a
commit
8d9690dad6
22 changed files with 57 additions and 69 deletions
|
|
@ -45,7 +45,7 @@ impl AlbumTile {
|
|||
pub fn new(album: &Album) -> Self {
|
||||
let obj: Self = glib::Object::new();
|
||||
|
||||
obj.imp().title_label.set_label(&album.name.get());
|
||||
obj.imp().title_label.set_label(album.name.get());
|
||||
obj.imp().album.set(album.clone()).unwrap();
|
||||
|
||||
obj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue