Change Locallab tool members from pointers to obj.

Ensures the LocallabTools are destructed when Locallab is.
This commit is contained in:
Lawrence Lee
2021-08-27 22:17:41 -07:00
parent 5a49ea7b8c
commit d897116507
2 changed files with 29 additions and 44 deletions

View File

@@ -103,19 +103,19 @@ private:
LocallabToolList* const toollist;
// Locallab tool widgets
LocallabColor* const expcolor;
LocallabExposure* const expexpose;
LocallabShadow* const expshadhigh;
LocallabVibrance* const expvibrance;
LocallabSoft* const expsoft;
LocallabBlur* const expblur;
LocallabTone* const exptonemap;
LocallabRetinex* const expreti;
LocallabSharp* const expsharp;
LocallabContrast* const expcontrast;
LocallabCBDL* const expcbdl;
LocallabLog* const explog;
LocallabMask* const expmask;
LocallabColor expcolor;
LocallabExposure expexpose;
LocallabShadow expshadhigh;
LocallabVibrance expvibrance;
LocallabSoft expsoft;
LocallabBlur expblur;
LocallabTone exptonemap;
LocallabRetinex expreti;
LocallabSharp expsharp;
LocallabContrast expcontrast;
LocallabCBDL expcbdl;
LocallabLog explog;
LocallabMask expmask;
std::vector<LocallabTool*> locallabTools;