remove unused code

This commit is contained in:
Daniella / Tove 2022-09-06 18:04:14 +02:00
parent 2dc6b3343e
commit 5347a60057

View file

@ -307,12 +307,6 @@ pub fn gui() -> Result<(), iui::UIError> {
window.set_child(&ui, vbox); window.set_child(&ui, vbox);
window.show(&ui); window.show(&ui);
/*si.on_should_quit(move || {
let quit_window = Window::new(&ui, "Really quit?", 300, 100, WindowType::NoMenubar);
let label = Label::new(&ui, "Do you really want to quit? Data is currently being transferred.");
ui.quit();
});*/
ui.event_loop().run(&ui); ui.event_loop().run(&ui);
println!("GUI done"); println!("GUI done");