Removed unused field in ColorsPanel

This commit is contained in:
Benny Baumann
2021-08-21 17:58:23 +02:00
committed by Christian Göttsche
parent cf45a5d02b
commit 7146059645
3 changed files with 3 additions and 5 deletions

View File

@ -84,14 +84,13 @@ const PanelClass ColorsPanel_class = {
.eventHandler = ColorsPanel_eventHandler
};
ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr) {
ColorsPanel* ColorsPanel_new(Settings* settings) {
ColorsPanel* this = AllocThis(ColorsPanel);
Panel* super = (Panel*) this;
FunctionBar* fuBar = FunctionBar_new(ColorsFunctions, NULL, NULL);
Panel_init(super, 1, 1, 1, 1, Class(CheckItem), true, fuBar);
this->settings = settings;
this->scr = scr;
assert(ARRAYSIZE(ColorSchemeNames) == LAST_COLORSCHEME + 1);