mirror of https://codeberg.org/topola/topola.git
refactor(egui/menu_bar): remove unused `self` argument
This commit is contained in:
parent
f454e248d7
commit
44bcdbc0aa
|
|
@ -129,7 +129,7 @@ impl MenuBar {
|
|||
.render_menu(ctx, ui, workspace_activities_enabled);
|
||||
});
|
||||
|
||||
self.update_preferences_menu(ctx, ui, tr);
|
||||
Self::update_preferences_menu(ctx, ui, tr);
|
||||
|
||||
ui.menu_button(tr.text("tr-menu-help"), |ui| {
|
||||
actions.help.render_menu(ctx, ui, online_documentation_url)
|
||||
|
|
@ -320,7 +320,6 @@ impl MenuBar {
|
|||
}
|
||||
|
||||
pub fn update_preferences_menu(
|
||||
&mut self,
|
||||
ctx: &egui::Context,
|
||||
ui: &mut egui::Ui,
|
||||
tr: &mut Translator,
|
||||
|
|
|
|||
Loading…
Reference in New Issue