mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Remove unused parameters from callbacks
This commit is contained in:
parent
a8c66da52f
commit
fca6ce841c
19 changed files with 35 additions and 37 deletions
|
|
@ -219,7 +219,7 @@ impl LibraryManager {
|
|||
}
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_person(&self, _: >k::Button) {
|
||||
// fn add_person(&self) {
|
||||
// self.imp()
|
||||
// .navigation
|
||||
// .get()
|
||||
|
|
@ -232,7 +232,7 @@ impl LibraryManager {
|
|||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_role(&self, _: >k::Button) {
|
||||
// fn add_role(&self) {
|
||||
// self.imp()
|
||||
// .navigation
|
||||
// .get()
|
||||
|
|
@ -245,7 +245,7 @@ impl LibraryManager {
|
|||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_instrument(&self, _: >k::Button) {
|
||||
// fn add_instrument(&self) {
|
||||
// self.imp()
|
||||
// .navigation
|
||||
// .get()
|
||||
|
|
@ -258,7 +258,7 @@ impl LibraryManager {
|
|||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_work(&self, _: >k::Button) {
|
||||
// fn add_work(&self) {
|
||||
// self.imp()
|
||||
// .navigation
|
||||
// .get()
|
||||
|
|
@ -271,7 +271,7 @@ impl LibraryManager {
|
|||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_ensemble(&self, _: >k::Button) {
|
||||
// fn add_ensemble(&self) {
|
||||
// self.imp()
|
||||
// .navigation
|
||||
// .get()
|
||||
|
|
@ -284,7 +284,7 @@ impl LibraryManager {
|
|||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_recording(&self, _: >k::Button) {
|
||||
// fn add_recording(&self) {
|
||||
// self.imp()
|
||||
// .navigation
|
||||
// .get()
|
||||
|
|
@ -297,12 +297,12 @@ impl LibraryManager {
|
|||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_medium(&self, _: >k::Button) {
|
||||
// fn add_medium(&self) {
|
||||
// todo!("Medium import");
|
||||
// }
|
||||
|
||||
// #[template_callback]
|
||||
// fn add_album(&self, _: >k::Button) {
|
||||
// fn add_album(&self) {
|
||||
// todo!("Album editor");
|
||||
// // self.imp()
|
||||
// // .navigation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue