diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index fe2a240a38..42849e3fb9 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c @@ -392,9 +392,6 @@ static int gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter ret |= QUICKSCREEN_CHANGED; can_quit = true; redraw = true; - - if (qs->callback) - qs->callback(qs); } else if (button == button_enter) can_quit = true; @@ -454,7 +451,6 @@ int quick_screen_quick(int button_enter) qs.items[i] = NULL; } - qs.callback = NULL; int ret = gui_syncquickscreen_run(&qs, button_enter, &usb); if (ret & QUICKSCREEN_CHANGED) { diff --git a/apps/gui/quickscreen.h b/apps/gui/quickscreen.h index bd8008bd34..2f51d6b4ce 100644 --- a/apps/gui/quickscreen.h +++ b/apps/gui/quickscreen.h @@ -46,8 +46,6 @@ enum quickscreen_return { struct gui_quickscreen { const struct settings_list *items[QUICKSCREEN_ITEM_COUNT]; - void (*callback)(struct gui_quickscreen * qs); /* called after a - item is changed */ }; extern int quick_screen_quick(int button_enter);