Skip to content

Commit

Permalink
Remove commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
saivert committed May 1, 2024
1 parent ece9fbd commit 57dd4a0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/backend/pwdeviceobject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ pub mod imp {
match what {
"EnumProfile" => {
obj.update_profiles();
//obj.emit_by_name::<()>("profiles-changed", &[]);
},
"Profile" => {
if let Some(index) = obj.get_current_profile_index() {
Expand All @@ -146,7 +145,6 @@ pub mod imp {
obj.update_routes();
},
"Route" => {
//obj.update_routes();
obj.update_current_route_index();
},
_ => {},
Expand Down Expand Up @@ -342,13 +340,7 @@ impl PwDeviceObject {
RouteDirection::Output => self.set_route_index_output(modelindex),
_ => unreachable!()
}
// match direction {
// RouteDirection::Input => self.imp().route_index_input.set(modelindex),
// RouteDirection::Output => self.imp().route_index_output.set(modelindex),
// _ => unreachable!()
// }
// self.emit_by_name::<()>("post-update-route", &[]);
// } else {
} else {
pwvucontrol_critical!("{direction:?} Unable to get model index from route index in update_current_route_index_for_direction_sync");
};
}
Expand Down

0 comments on commit 57dd4a0

Please sign in to comment.